Documentation

VCRController extends ArcheBaseController
in package

Description of VCRController

Tags
author

nczirjak

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
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
getCurrentLanguage()  : type
Get the site actual language
setBasicPropertys()  : mixed
setContext()  : mixed

Properties

Methods

The main search

public search(array<string|int, mixed> $postParams) : Response
Parameters
$postParams : array<string|int, mixed>
Return values
Response

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

setBasicPropertys()

private setBasicPropertys(array<string|int, mixed> $postParams) : mixed
Parameters
$postParams : array<string|int, mixed>

        
On this page

Search results