Documentation

MetadataController extends ArcheBaseController
in package

Description of MetadataController

Tags
author

nczirjak

Table of Contents

Properties

$config  : Config
$helper  : mixed
$model  : mixed
$ontology  : Ontology
$pdo  : PDO
$repoDb  : RepoDb
$schema  : Schema
$siteLang  : mixed

Methods

__construct()  : mixed
detailAjaxView()  : Response
This function is called if the user is jumping inside the arche content, it will rerender the metadata view
detailView()  : string
Resource Metadata view
discoverView()  : string
The main discover/smartsearch view
changeAPILanguage()  : void
If the API needs a different response language then we have to change the session lang params to get the desired lang string translation
checkTmpDirs()  : mixed
getCurrentLanguage()  : type
Get the site actual language

Properties

Methods

detailAjaxView()

This function is called if the user is jumping inside the arche content, it will rerender the metadata view

public detailAjaxView(string $identifier) : Response
Parameters
$identifier : string
Return values
Response

detailView()

Resource Metadata view

public detailView(string $identifier) : string
Parameters
$identifier : string
Return values
string

discoverView()

The main discover/smartsearch view

public discoverView([type $str = NULL ]) : string
Parameters
$str : type = NULL
Return values
string

changeAPILanguage()

If the API needs a different response language then we have to change the session lang params to get the desired lang string translation

protected changeAPILanguage(string $lang) : void
Parameters
$lang : string

getCurrentLanguage()

Get the site actual language

private getCurrentLanguage() : type
Return values
type

        
On this page

Search results