Documentation

DcMetadata
in package
implements MetadataInterface

Creates OAI-PMH <metadata> element in Dublin Core format from an RDF metadata.

Simply takes all Dublin Core Elements properties and their Dublin Core Terms counterparts and skips all other metadata properties.

Skips Dublin Core Terms which don't have Dublin Core Elements counterparts.

Tags
author

zozlak

Table of Contents

Interfaces

MetadataInterface
Interface for different metadata providers.

Constants

DCE_NMSP  = 'http://purl.org/dc/elements/1.1/'
DCE_PROPS  = ['contributor', 'coverage', 'creator', 'date', 'description', 'format', 'identifier', 'language', 'publisher', 'relation', 'rights', 'source', 'subject', 'title', 'type']
DCT_NMSP  = 'http://purl.org/dc/terms/'

Properties

$res  : RepoResourceDb
Repository resource object

Methods

__construct()  : mixed
Creates a metadata object for a given repository resource.
extendSearchDataQuery()  : QueryPart
This implementation has no need to extend the search query.
extendSearchFilterQuery()  : QueryPart
This implementation has no need to extend the search query.
getXml()  : DOMElement
Creates resource's XML metadata

Constants

DCE_NMSP

public mixed DCE_NMSP = 'http://purl.org/dc/elements/1.1/'

DCE_PROPS

public mixed DCE_PROPS = ['contributor', 'coverage', 'creator', 'date', 'description', 'format', 'identifier', 'language', 'publisher', 'relation', 'rights', 'source', 'subject', 'title', 'type']

DCT_NMSP

public mixed DCT_NMSP = 'http://purl.org/dc/terms/'

Properties

Methods

extendSearchDataQuery()

This implementation has no need to extend the search query.

public static extendSearchDataQuery(MetadataFormat $format) : QueryPart
Parameters
$format : MetadataFormat
Return values
QueryPart

extendSearchFilterQuery()

This implementation has no need to extend the search query.

public static extendSearchFilterQuery(MetadataFormat $format) : QueryPart
Parameters
$format : MetadataFormat
Return values
QueryPart

getXml()

Creates resource's XML metadata

public getXml() : DOMElement
Return values
DOMElement

        
On this page

Search results