MetadataController
extends ArcheApiBaseController
in package
Description of MetadataController
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getData() : JsonResponse
- getRootData() : Response
- get the root view collections ordered by date desc by default
- getTopThreeTopCollection() : Response
- Get the top 3 topcollection for the homepage
- setModel() : mixed
Properties
$config
protected
mixed
$config
$repoDb
protected
mixed
$repoDb
$siteLang
protected
mixed
$siteLang
$model
private
mixed
$model
$utils
private
mixed
$utils
Methods
__construct()
public
__construct() : mixed
getData()
public
getData(string $lang, array<string|int, mixed> $searchProps) : JsonResponse
Parameters
- $lang : string
- $searchProps : array<string|int, mixed>
Return values
JsonResponsegetRootData()
get the root view collections ordered by date desc by default
public
getRootData(string $lang, array<string|int, mixed> $searchProps) : Response
Parameters
- $lang : string
- $searchProps : array<string|int, mixed>
Return values
ResponsegetTopThreeTopCollection()
Get the top 3 topcollection for the homepage
public
getTopThreeTopCollection(string $lang, array<string|int, mixed> $searchProps) : Response
URL: https://arche-dev.acdh-dev.oeaw.ac.at/browser/api/getHPTop/en
Parameters
- $lang : string
- $searchProps : array<string|int, mixed>
Return values
ResponsesetModel()
private
setModel() : mixed