MetadataModel
extends ArcheApiModel
in package
Description of MetadataGuiModel
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getData() : array<string|int, mixed>
- getOverviewData() : array<string|int, mixed>
- Detail view overview data
- getRootData() : array<string|int, mixed>
- Root view API Model
- setSqlTimeout() : mixed
- Set the sql execution max time
- closeDBConnection() : mixed
- setActiveConnection() : mixed
- Allow the DB connection
Properties
$config
protected
mixed
$config
$drupalDb
protected
mixed
$drupalDb
$repoDb
protected
mixed
$repoDb
$siteLang
protected
mixed
$siteLang
= "en"
Methods
__construct()
public
__construct() : mixed
getData()
public
getData(string $lang, array<string|int, mixed> $searchProp) : array<string|int, mixed>
Parameters
- $lang : string
- $searchProp : array<string|int, mixed>
Return values
array<string|int, mixed>getOverviewData()
Detail view overview data
public
getOverviewData(string $identifier[, string $lang = "en" ]) : array<string|int, mixed>
Parameters
- $identifier : string
- $lang : string = "en"
Return values
array<string|int, mixed>getRootData()
Root view API Model
public
getRootData(string $lang, array<string|int, mixed> $searchProp) : array<string|int, mixed>
Parameters
- $lang : string
- $searchProp : array<string|int, mixed>
Return values
array<string|int, mixed>setSqlTimeout()
Set the sql execution max time
public
setSqlTimeout([string $timeout = '7000' ]) : mixed
Parameters
- $timeout : string = '7000'
closeDBConnection()
protected
closeDBConnection() : mixed
setActiveConnection()
Allow the DB connection
protected
setActiveConnection() : mixed