\Kaloa\Xmp\PropertiesDublinCoreProperties

Extracts the Dublin Core properties from an XMP document referenced by an XPath instance.

The descriptions for all getters are taken from exiv2.org.

All getter methods return either an array or a string but never one or the other for the same entity.

Summary

Methods
Properties
Constants
__construct()
getContributor()
getCoverage()
getCreator()
getDate()
getDescription()
getFormat()
getIdentifier()
getLanguage()
getPublisher()
getRelation()
getRights()
getSource()
getSubject()
getTitle()
getType()
No public properties found
No constants found
init()
$xPath
N/A
No private methods found
No private properties found
N/A

Properties

$xPath

$xPath : \DOMXPath

XPath instance for a Kaloa\Xmp\Document.

Type

\DOMXPath

Methods

__construct()

__construct(\DOMXPath  $xPath) 

Initializes the instance.

Parameters

\DOMXPath $xPath

XPath instance for a Kaloa\Xmp\Document

getContributor()

getContributor() : array

Returns contributors to the resource (other than the authors).

Returns

array

getCoverage()

getCoverage() : string

Returns the spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.

Returns

string

getCreator()

getCreator() : array

Returns the authors of the resource (listed in order of precedence, if significant).

Returns

array

getDate()

getDate() : array

Returns date(s) that something interesting happened to the resource.

Returns

array

getDescription()

getDescription() : array

Returns a textual description of the content of the resource.

Multiple values may be present for different languages.

Returns

array

getFormat()

getFormat() : string

Returns the file format used when saving the resource.

Tools and applications should set this property to the save format of the data. It may include appropriate qualifiers.

Returns

string

getIdentifier()

getIdentifier() : string

Returns the unique identifier of the resource.

Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.

Returns

string

getLanguage()

getLanguage() : array

Returns an unordered array specifying the languages used in the resource.

Returns

array

getPublisher()

getPublisher() : array

Returns an entity responsible for making the resource available.

Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity.

Returns

array

getRelation()

getRelation() : array

Returns relationships to other documents.

Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.

Returns

array

getRights()

getRights() : array

Returns an informal rights statement, selected by language.

Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.

Returns

array

getSource()

getSource() : string

Returns the Unique identifier of the work from which this resource was derived.

Returns

string

getSubject()

getSubject() : array

Returns an unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.

Returns

array

getTitle()

getTitle() : array

Returns the title of the document, or the name given to the resource.

Typically, it will be a name by which the resource is formally known.

Returns

array

getType()

getType() : array

Returns a document type; for example, novel, poem, or working paper.

Returns

array

init()

init() 

Retrieves all properties from the underlying XMP document.