Documentation

ArcheBaseController extends ControllerBase
in package

Description of ArcheBaseController

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
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

Properties

Methods

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