Documentation

InverseDataController extends ArcheBaseController
in package

Description of ArcheBaseController

Table of Contents

Properties

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

Methods

__construct()  : mixed
getPublicationsDT()  : Response
getRprDT()  : Response
Get Related Collections and Resources
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
getInverse()  : array<string|int, mixed>

Properties

Methods

getPublicationsDT()

public getPublicationsDT(string $id, array<string|int, mixed> $searchProps, string $lang) : Response
Parameters
$id : string
$searchProps : array<string|int, mixed>
$lang : string
Return values
Response

getRprDT()

Get Related Collections and Resources

public getRprDT(string $id, array<string|int, mixed> $searchProps, string $lang) : Response
Parameters
$id : string
$searchProps : array<string|int, mixed>
$lang : string
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

getInverse()

private getInverse(int $resId, array<string|int, mixed> $resContext[, array<string|int, mixed> $relContext = [] ][, SearchConfig|null $searchCfg = null ][, string|array<string|int, mixed>|null $properties = null ][, string $searchPhrase = '' ][, array<string|int, mixed> $searchTerms = [] ]) : array<string|int, mixed>
Parameters
$resId : int
$resContext : array<string|int, mixed>
$relContext : array<string|int, mixed> = []
$searchCfg : SearchConfig|null = null
$properties : string|array<string|int, mixed>|null = null
$searchPhrase : string = ''
$searchTerms : array<string|int, mixed> = []
Return values
array<string|int, mixed>

        
On this page

Search results