VCRController
extends ArcheBaseController
in package
Description of VCRController
Tags
Table of Contents
Properties
- $config : Config
- $helper : mixed
- $model : mixed
- $ontology : Ontology
- $pdo : PDO
- $repoDb : RepoDb
- $schema : Schema
- $siteLang : mixed
- $aConfig : mixed
- $baseUrl : mixed
- $context : mixed
- $preferredLang : mixed
- $reqFacets : mixed
- $requestHash : mixed
- $sConfig : mixed
- $searchInBinaries : mixed
- $searchPhrase : mixed
Methods
- __construct() : mixed
- redirectOldDetailView() : mixed
- we have to redirect the old metadata url to the new one old: oeaw_detail new: metadata
- search() : Response
- The main search
- 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
- setBasicPropertys() : mixed
- setContext() : mixed
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
$aConfig
private
mixed
$aConfig
$baseUrl
private
mixed
$baseUrl
$context
private
mixed
$context
= []
$preferredLang
private
mixed
$preferredLang
$reqFacets
private
mixed
$reqFacets
$requestHash
private
mixed
$requestHash
$sConfig
private
mixed
$sConfig
$searchInBinaries
private
mixed
$searchInBinaries
$searchPhrase
private
mixed
$searchPhrase
Methods
__construct()
public
__construct() : mixed
redirectOldDetailView()
we have to redirect the old metadata url to the new one old: oeaw_detail new: metadata
public
redirectOldDetailView(string $identifier) : mixed
Parameters
- $identifier : string
search()
The main search
public
search(array<string|int, mixed> $postParams) : Response
Parameters
- $postParams : array<string|int, mixed>
Return values
ResponsechangeAPILanguage()
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
Return values
typesetBasicPropertys()
private
setBasicPropertys(array<string|int, mixed> $postParams) : mixed
Parameters
- $postParams : array<string|int, mixed>
setContext()
private
setContext() : mixed