MetadataController
extends ArcheBaseController
in package
Description of MetadataController
Tags
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
$config
protected
Config
$config
$helper
protected
mixed
$helper
$model
protected
mixed
$model
$ontology
protected
Ontology
$ontology
$pdo
protected
PDO
$pdo
$repoDb
protected
RepoDb
$repoDb
$schema
protected
Schema
$schema
$siteLang
protected
mixed
$siteLang
Methods
__construct()
public
__construct() : mixed
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
ResponsedetailView()
Resource Metadata view
public
detailView(string $identifier) : string
Parameters
- $identifier : string
Return values
stringdiscoverView()
The main discover/smartsearch view
public
discoverView([type $str = NULL ]) : string
Parameters
- $str : type = NULL
Return values
stringchangeAPILanguage()
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
checkTmpDirs()
private
checkTmpDirs() : mixed
getCurrentLanguage()
Get the site actual language
private
getCurrentLanguage() : type