Documentation

ResourceObject
in package

Table of Contents

Properties

$acdhid  : mixed
$audioCategories  : mixed
$biblatexUrl  : mixed
$config  : mixed
$language  : mixed
$properties  : mixed
$publicAccessTitle  : mixed
$publicAccessValue  : mixed
$repoid  : mixed
$thumbUrl  : mixed

Methods

__construct()  : mixed
getAccessRestriction()  : array<string|int, mixed>
Get the accessrestriction url and title
getAcdhID()  : string
Get the resource acdh id
getAcdhType()  : string
Get the acdh type string
getAvailableDate()  : string
Get the available date in a specified format
getBiblatexUrl()  : string
Get the biblatex disserv url
getCopyResourceLink()  : string
Select the identifier for the Copy resource link Order : PID , ID.acdh.oeaw.ac.at, arche api id REDMINE ID: #19888
getData()  : array<string|int, mixed>
get the data based on the property
getDataString()  : string
Get the defined property String values
getExpertTableData()  : array<string|int, mixed>
Get all data
getFormattedDateByProperty()  : string
Format the date values for the twig template
getIdentifiers()  : array<string|int, mixed>
All identifiers
getInsideUrl()  : string
Get resource inside uri
getMapType()  : string
Get the WKT map type
getMultiPolygonFirstCoordinate()  : string
Create the JS string for the leaflet map MultiPolyLang from Multipolygon data
getNonAcdhApiIdentifiers()  : type
Get all identifiers which are not acdh api related
getNonAcdhIdentifiers()  : type
Get all identifiers which are not acdh related
getPid()  : string
PID
getPolygonData()  : string
Add Multipolygon string for the polygon dataset, othwerwise the js plugin cant handle it
getPolygonFirstCoordinate()  : string
Create the JS string for the leaflet map MultiPolyLang from Polygon data
getRdfTypes()  : array<string|int, mixed>
Display all RDF:Type Values
getRepoGuiUrl()  : string
Get the Gui related url for the resource
getRepoID()  : string
Get the repo identifier
getRepoUrl()  : string
Get the full repo url with the identifier for the actual resource
getSkosType()  : string
Get the skos concept type for the custom gui detail view
getTitle()  : string
Get the Resource title
getTitleImage()  : string
get the title image url
getTitleImageUrl()  : string
Get the titleimage URL
getUUID()  : string
Get the resource acdh uuid
getVCRData()  : string
Create the VCR data json string REDMINE ID: #19076
isAudio()  : bool
Check the resource has an audio, to display the audio player
isContactDetails()  : bool
isPDF()  : bool
Check if the resource is a pdf file
isPublic()  : bool
Check the resource is public or not
isTitleImage()  : bool
Check if we have a titleimage id or not
checkMultiPolygonMapString()  : string
Transform Multipolygon string
setData()  : mixed
Change property data

Properties

$audioCategories

private mixed $audioCategories = array('audio', 'sound', 'speechrecording', 'speech')

$biblatexUrl

private mixed $biblatexUrl = 'https://arche-biblatex.acdh.oeaw.ac.at/'

$publicAccessTitle

private mixed $publicAccessTitle = ['public', 'öffentlich']

$publicAccessValue

private mixed $publicAccessValue = 'https://vocabs.acdh.oeaw.ac.at/archeaccessrestrictions/public'

$thumbUrl

private mixed $thumbUrl = 'https://arche-thumbnails.acdh.oeaw.ac.at/'

Methods

__construct()

public __construct(array<string|int, mixed> $data, mixed $config[, string $language = 'en' ]) : mixed
Parameters
$data : array<string|int, mixed>
$config : mixed
$language : string = 'en'

getAccessRestriction()

Get the accessrestriction url and title

public getAccessRestriction() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAcdhID()

Get the resource acdh id

public getAcdhID() : string
Return values
string

getAcdhType()

Get the acdh type string

public getAcdhType() : string
Return values
string

getAvailableDate()

Get the available date in a specified format

public getAvailableDate() : string
Return values
string

getBiblatexUrl()

Get the biblatex disserv url

public getBiblatexUrl() : string
Return values
string

Select the identifier for the Copy resource link Order : PID , ID.acdh.oeaw.ac.at, arche api id REDMINE ID: #19888

public getCopyResourceLink() : string
Return values
string

getData()

get the data based on the property

public getData(string $property) : array<string|int, mixed>
Parameters
$property : string
Return values
array<string|int, mixed>

getDataString()

Get the defined property String values

public getDataString(string $property) : string
Parameters
$property : string
Return values
string

getExpertTableData()

Get all data

public getExpertTableData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFormattedDateByProperty()

Format the date values for the twig template

public getFormattedDateByProperty(string $property[, string $dateFormat = 'Y' ]) : string
Parameters
$property : string
$dateFormat : string = 'Y'
Return values
string

getIdentifiers()

All identifiers

public getIdentifiers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getInsideUrl()

Get resource inside uri

public getInsideUrl() : string
Return values
string

getMapType()

Get the WKT map type

public getMapType() : string
Return values
string

getMultiPolygonFirstCoordinate()

Create the JS string for the leaflet map MultiPolyLang from Multipolygon data

public getMultiPolygonFirstCoordinate() : string
Return values
string

getNonAcdhApiIdentifiers()

Get all identifiers which are not acdh api related

public getNonAcdhApiIdentifiers() : type
Return values
type

getNonAcdhIdentifiers()

Get all identifiers which are not acdh related

public getNonAcdhIdentifiers() : type
Return values
type

getPolygonData()

Add Multipolygon string for the polygon dataset, othwerwise the js plugin cant handle it

public getPolygonData() : string
Return values
string

getPolygonFirstCoordinate()

Create the JS string for the leaflet map MultiPolyLang from Polygon data

public getPolygonFirstCoordinate() : string
Return values
string

getRdfTypes()

Display all RDF:Type Values

public getRdfTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRepoGuiUrl()

Get the Gui related url for the resource

public getRepoGuiUrl() : string
Return values
string

getRepoID()

Get the repo identifier

public getRepoID() : string
Return values
string

getRepoUrl()

Get the full repo url with the identifier for the actual resource

public getRepoUrl() : string
Return values
string

getSkosType()

Get the skos concept type for the custom gui detail view

public getSkosType() : string
Return values
string

getTitle()

Get the Resource title

public getTitle() : string
Return values
string

getTitleImage()

get the title image url

public getTitleImage([string $width = '200px' ]) : string
Parameters
$width : string = '200px'
Return values
string

getTitleImageUrl()

Get the titleimage URL

public getTitleImageUrl([string $width = '200px' ]) : string
Parameters
$width : string = '200px'
Return values
string

getUUID()

Get the resource acdh uuid

public getUUID() : string
Return values
string

getVCRData()

Create the VCR data json string REDMINE ID: #19076

public getVCRData() : string
Return values
string

isAudio()

Check the resource has an audio, to display the audio player

public isAudio() : bool
Return values
bool

isContactDetails()

public isContactDetails() : bool
Return values
bool

isPDF()

Check if the resource is a pdf file

public isPDF() : bool
Return values
bool

isPublic()

Check the resource is public or not

public isPublic() : bool
Return values
bool

isTitleImage()

Check if we have a titleimage id or not

public isTitleImage() : bool
Return values
bool

checkMultiPolygonMapString()

Transform Multipolygon string

private checkMultiPolygonMapString() : string
Return values
string

setData()

Change property data

private setData([string $prop = null ][, array<string|int, mixed> $v = array() ]) : mixed
Parameters
$prop : string = null
$v : array<string|int, mixed> = array()

        
On this page

Search results