Documentation

ResourceCoreObject
in package

Table of Contents

Properties

$acdhid  : mixed
$audioCategories  : mixed
$biblatexUrl  : mixed
$config  : mixed
$iiifFormats  : 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
getCollectionTechnicalData()  : array<string|int, mixed>
Return the metadata view right box getCollectionTechnicalData card content
getCoordinates()  : string
getCopyResourceLink()  : string
Select the identifier for the Copy resource link Order : PID , ID.acdh.oeaw.ac.at, arche api id REDMINE ID: #19888
getCreditsData()  : array<string|int, mixed>
Return the metadata view right box Credits card content
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
getLicenseData()  : array<string|int, mixed>
Return the metadata view right box License card content
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
getOneID()  : string
Get the first identifier for dissemination services (Not all the time we have acdh.id...)
getPid()  : string
PID
getPidOrAcdhIdentifier()  : string
getPolygon()  : string
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
getRepoBaseUrl()  : string
Get the GUI base url
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
getResMetaTechnicalData()  : array<string|int, mixed>
Return the metadata view right box getResMetaTechnicalData card content
getSizeData()  : array<string|int, mixed>
Return the metadata view right box Size card content
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
hasVersion()  : bool
Check if we have to display the version box
is3DObject()  : bool
Check the resource is a 3d object
isAudio()  : bool
Check the resource has an audio, to display the audio player
isBinary()  : bool
check if the Resource is an uploaded binary
isContactDetails()  : bool
isIIIF()  : bool
Check if the resource supports IIIF viewer
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
formatBytes()  : mixed
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/'

$iiifFormats

private mixed $iiifFormats = array('image/jpeg', 'image/png', 'image/tiff')

$publicAccessValue

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

Methods

__construct()

public __construct(array<string|int, mixed> $data, object $config[, string $language = 'en' ]) : mixed
Parameters
$data : array<string|int, mixed>
$config : object
$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

getCollectionTechnicalData()

Return the metadata view right box getCollectionTechnicalData card content

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

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

getCreditsData()

Return the metadata view right box Credits card content

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

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

getLicenseData()

Return the metadata view right box License card content

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

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

getOneID()

Get the first identifier for dissemination services (Not all the time we have acdh.id...)

public getOneID() : string
Return values
string

getPidOrAcdhIdentifier()

public getPidOrAcdhIdentifier() : string
Return values
string

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>

getRepoBaseUrl()

Get the GUI base url

public getRepoBaseUrl() : string
Return values
string

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

getResMetaTechnicalData()

Return the metadata view right box getResMetaTechnicalData card content

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

getSizeData()

Return the metadata view right box Size card content

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

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 = '300px' ]) : string
Parameters
$width : string = '300px'
Return values
string

getTitleImageUrl()

Get the titleimage URL

public getTitleImageUrl([string $width = '300px' ]) : string
Parameters
$width : string = '300px'
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

hasVersion()

Check if we have to display the version box

public hasVersion() : bool
Return values
bool

is3DObject()

Check the resource is a 3d object

public is3DObject() : bool
Return values
bool

isAudio()

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

public isAudio() : bool
Return values
bool

isBinary()

check if the Resource is an uploaded binary

public isBinary() : bool
Return values
bool

isIIIF()

Check if the resource supports IIIF viewer

public isIIIF() : 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

formatBytes()

private formatBytes(mixed $bytes[, mixed $precision = 2 ]) : mixed
Parameters
$bytes : mixed
$precision : mixed = 2

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