Documentation

MetadataController 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

Methods

__construct()  : mixed
get3dUrl()  : JsonResponse
DOwnload the 3d Object file and return the url.
getBreadcrumb()  : JsonResponse
Get the actual resource breadcrumb
getExpertData()  : JsonResponse
Metadata view expert DT content
getSearchCoordinates()  : JsonResponse
MAP search coorindates
getTopCollections()  : JsonResponse
Provide the top collections, based on the count value
getTopCollectionsDT()  : JsonResponse
Datatable top collections api endpoint
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
checkTmpDirs()  : mixed
getCurrentLanguage()  : type
Get the site actual language

Properties

Methods

get3dUrl()

DOwnload the 3d Object file and return the url.

public get3dUrl(string $identifier) : JsonResponse
Parameters
$identifier : string
Return values
JsonResponse

getBreadcrumb()

Get the actual resource breadcrumb

public getBreadcrumb(string $id[, string $lang = "en" ]) : JsonResponse
Parameters
$id : string
$lang : string = "en"
Return values
JsonResponse

getExpertData()

Metadata view expert DT content

public getExpertData(string $id[, string $lang = "en" ]) : JsonResponse
Parameters
$id : string
$lang : string = "en"
Return values
JsonResponse

getSearchCoordinates()

MAP search coorindates

public getSearchCoordinates([string $lang = "en" ]) : JsonResponse
Parameters
$lang : string = "en"
Return values
JsonResponse

getTopCollections()

Provide the top collections, based on the count value

public getTopCollections(int $count[, string $lang = "en" ]) : JsonResponse
Parameters
$count : int
$lang : string = "en"
Return values
JsonResponse

getTopCollectionsDT()

Datatable top collections api endpoint

public getTopCollectionsDT(array<string|int, mixed> $searchProps[, string $lang = "en" ]) : JsonResponse
Parameters
$searchProps : array<string|int, mixed>
$lang : string = "en"
Return values
JsonResponse

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