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
$acdhid
    private
        mixed
    $acdhid
    
    
    
    
$audioCategories
    private
        mixed
    $audioCategories
     = array('audio', 'sound', 'speechrecording', 'speech')
    
    
    
$biblatexUrl
    private
        mixed
    $biblatexUrl
     = 'https://arche-biblatex.acdh.oeaw.ac.at/'
    
    
    
$config
    private
        mixed
    $config
    
    
    
    
$language
    private
        mixed
    $language
     = 'en'
    
    
    
$properties
    private
        mixed
    $properties
    
    
    
    
$publicAccessTitle
    private
        mixed
    $publicAccessTitle
     = ['public', 'öffentlich']
    
    
    
$publicAccessValue
    private
        mixed
    $publicAccessValue
     = 'https://vocabs.acdh.oeaw.ac.at/archeaccessrestrictions/public'
    
    
    
$repoid
    private
        mixed
    $repoid
    
    
    
    
$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
stringgetAcdhType()
Get the acdh type string
    public
                    getAcdhType() : string
    Return values
stringgetAvailableDate()
Get the available date in a specified format
    public
                    getAvailableDate() : string
    Return values
stringgetBiblatexUrl()
Get the biblatex disserv url
    public
                    getBiblatexUrl() : string
    Return values
stringgetCopyResourceLink()
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
stringgetData()
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
stringgetExpertTableData()
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
stringgetIdentifiers()
All identifiers
    public
                    getIdentifiers() : array<string|int, mixed>
    Return values
array<string|int, mixed>getInsideUrl()
Get resource inside uri
    public
                    getInsideUrl() : string
    Return values
stringgetMapType()
Get the WKT map type
    public
                    getMapType() : string
    Return values
stringgetMultiPolygonFirstCoordinate()
Create the JS string for the leaflet map MultiPolyLang from Multipolygon data
    public
                    getMultiPolygonFirstCoordinate() : string
    Return values
stringgetNonAcdhApiIdentifiers()
Get all identifiers which are not acdh api related
    public
                    getNonAcdhApiIdentifiers() : type
    Return values
typegetNonAcdhIdentifiers()
Get all identifiers which are not acdh related
    public
                    getNonAcdhIdentifiers() : type
    Return values
typegetPid()
PID
    public
                    getPid() : string
    Return values
stringgetPolygonData()
Add Multipolygon string for the polygon dataset, othwerwise the js plugin cant handle it
    public
                    getPolygonData() : string
    Return values
stringgetPolygonFirstCoordinate()
Create the JS string for the leaflet map MultiPolyLang from Polygon data
    public
                    getPolygonFirstCoordinate() : string
    Return values
stringgetRdfTypes()
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
stringgetRepoID()
Get the repo identifier
    public
                    getRepoID() : string
    Return values
stringgetRepoUrl()
Get the full repo url with the identifier for the actual resource
    public
                    getRepoUrl() : string
    Return values
stringgetSkosType()
Get the skos concept type for the custom gui detail view
    public
                    getSkosType() : string
    Return values
stringgetTitle()
Get the Resource title
    public
                    getTitle() : string
    Return values
stringgetTitleImage()
get the title image url
    public
                    getTitleImage([string $width = '200px' ]) : string
    Parameters
- $width : string = '200px'
Return values
stringgetTitleImageUrl()
Get the titleimage URL
    public
                    getTitleImageUrl([string $width = '200px' ]) : string
    Parameters
- $width : string = '200px'
Return values
stringgetUUID()
Get the resource acdh uuid
    public
                    getUUID() : string
    Return values
stringgetVCRData()
Create the VCR data json string REDMINE ID: #19076
    public
                    getVCRData() : string
    Return values
stringisAudio()
Check the resource has an audio, to display the audio player
    public
                    isAudio() : bool
    Return values
boolisContactDetails()
    public
                    isContactDetails() : bool
    Return values
boolisPDF()
Check if the resource is a pdf file
    public
                    isPDF() : bool
    Return values
boolisPublic()
Check the resource is public or not
    public
                    isPublic() : bool
    Return values
boolisTitleImage()
Check if we have a titleimage id or not
    public
                    isTitleImage() : bool
    Return values
boolcheckMultiPolygonMapString()
Transform Multipolygon string
    private
                    checkMultiPolygonMapString() : string
    Return values
stringsetData()
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()