Documentation

ResourceCoreObject
in package

Table of Contents

Properties

$accessLevels  : mixed
$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
getConceptAndSchemeIdentifiers()  : array<string|int, mixed>
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
getDataArrayString()  : mixed
Fetch property which has more than one value as array or as string
getDataByPropertyList()  : array<string|int, mixed>
If we need an array of propertys data
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
getFundingData()  : array<string|int, mixed>
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
getPlaceAddress()  : array<string|int, mixed>
Place view Address section
getPlaceIds()  : array<string|int, mixed>
Use geonames ID, if no geonames then whatever is not ARCHE domain, else ARCHE domain
getPolygon()  : string
Get Polygon data fpr map
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
getProjectDetailsData()  : array<string|int, mixed>
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
getResourceAccessLevel()  : string
Get the actual resource access level for the user login check
getRootID()  : string
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
getTechnicalData()  : array<string|int, mixed>
Return the metadata view right box getResMetaTechnicalData card content
getTitle()  : string
Get the Resource title
getUUID()  : string
Get the resource acdh uuid
getVCRData()  : string
Create the VCR data json string REDMINE ID: #19076
getVocabsIdentifiers()  : array<string|int, mixed>
Collect Vocabs identifiers for concept
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
isConceptOrConceptScheme()  : string
Providing the Concept and ConceptScheme identifier
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
isUserLoggedIn()  : bool
Check if the user is logged in or not
addExternalURL()  : void
If the property is concept or conceptscheme, then we have to add an extrnal url property.
checkMultiPolygonMapString()  : string
Transform Multipolygon string
formatBytes()  : mixed
setData()  : mixed
Change property data

Properties

$accessLevels

private mixed $accessLevels = ['public' => 'öffentlich', 'academic' => 'akademisch', 'restricted' => 'eingeschränkt']

$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

getConceptAndSchemeIdentifiers()

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

getDataArrayString()

Fetch property which has more than one value as array or as string

public getDataArrayString(string $property[, string $output = "array" ]) : mixed
Parameters
$property : string
$output : string = "array"

getDataByPropertyList()

If we need an array of propertys data

public getDataByPropertyList(array<string|int, mixed> $props) : array<string|int, mixed>
Parameters
$props : array<string|int, mixed>
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

getFundingData()

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

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

getPlaceAddress()

Place view Address section

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

getPlaceIds()

Use geonames ID, if no geonames then whatever is not ARCHE domain, else ARCHE domain

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

getPolygon()

Get Polygon data fpr map

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

getProjectDetailsData()

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

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

getResourceAccessLevel()

Get the actual resource access level for the user login check

public getResourceAccessLevel() : string
Return values
string

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

getTechnicalData()

Return the metadata view right box getResMetaTechnicalData card content

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

getTitle()

Get the Resource title

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

getVocabsIdentifiers()

Collect Vocabs identifiers for concept

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

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

isConceptOrConceptScheme()

Providing the Concept and ConceptScheme identifier

public isConceptOrConceptScheme() : string
Return values
string

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

isUserLoggedIn()

Check if the user is logged in or not

public isUserLoggedIn() : bool
Return values
bool

addExternalURL()

If the property is concept or conceptscheme, then we have to add an extrnal url property.

private addExternalURL(array<string|int, mixed> &$v) : void
Parameters
$v : array<string|int, mixed>

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