MainController
extends ControllerBase
in package
Description of MainController
Tags
Table of Contents
Methods
- api_baseOntology() : JsonResponse
- List Collection/project/Resource ontology
- api_check_identifier() : Response
- Check acdh identifiers in the DB for metadata editor
- api_concepts() : Response
- ACDH:Concepts for metadata editor
- api_getData() : Response
- get property data for metadata editor
- api_getMetadata() : JsonResponse
- Display the ontology data by the given property name. F.e.: Person
- api_organisations() : Response
- ACDH:Organisations for metadata editor
- api_persons() : Response
- ACDH:Perons for metadata editor
- api_places() : Response
- ACDH:Places for metadata editor
- api_publications() : Response
- ACDH:Publications for metadata editor
Methods
api_baseOntology()
List Collection/project/Resource ontology
public
api_baseOntology(string $lang) : JsonResponse
Parameters
- $lang : string
Return values
JsonResponseapi_check_identifier()
Check acdh identifiers in the DB for metadata editor
public
api_check_identifier(string $searchStr) : Response
Parameters
- $searchStr : string
Return values
Responseapi_concepts()
ACDH:Concepts for metadata editor
public
api_concepts(string $searchStr) : Response
Parameters
- $searchStr : string
Return values
Responseapi_getData()
get property data for metadata editor
public
api_getData(string $type, string $searchStr) : Response
Parameters
- $type : string
- $searchStr : string
Return values
Responseapi_getMetadata()
Display the ontology data by the given property name. F.e.: Person
public
api_getMetadata(string $type, string $lang) : JsonResponse
Parameters
- $type : string
- $lang : string
Return values
JsonResponseapi_organisations()
ACDH:Organisations for metadata editor
public
api_organisations(string $searchStr) : Response
Parameters
- $searchStr : string
Return values
Responseapi_persons()
ACDH:Perons for metadata editor
public
api_persons(string $searchStr) : Response
Parameters
- $searchStr : string
Return values
Responseapi_places()
ACDH:Places for metadata editor
public
api_places(string $searchStr) : Response
Parameters
- $searchStr : string
Return values
Responseapi_publications()
ACDH:Publications for metadata editor
public
api_publications(string $searchStr) : Response
Parameters
- $searchStr : string