$properties
$properties : array
Dublin Core and Dublin Core Terms property list
Creates OAI-PMH <metadata> element in Dublin Core format from a FedoraResource RDF metadata.
Simply takes all Dublin Core elements and their Dublin Core Terms counterparts and skips all other metadata properties. The only exception is http://fedora.info/definitions/v4/repository#lastModified which is turned into dc:date.
__construct(\acdhOeaw\fedora\FedoraResource $resource, \stdClass $sparqlResultRow, \acdhOeaw\oai\data\MetadataFormat $format)
Creates a metadata object for a given repository resource.
\acdhOeaw\fedora\FedoraResource | $resource | repository resource object |
\stdClass | $sparqlResultRow | SPARQL search query result row |
\acdhOeaw\oai\data\MetadataFormat | $format | metadata format descriptor describing this resource |
extendSearchQuery(\acdhOeaw\oai\data\MetadataFormat $format, string $resVar) : string
This implementation has no need to extend the SPRARQL search query.
Returned string must be a valid SPARQL query part one can insert as ...
in a query like SELECT * WHERE { ... LIMIT (someRule)}
. It means if
you need your own LIMIT clause or other advanced constructs, you must
return a subquery.
Remark! PHP doesn't consider static methods as an interface part therefore existance of this method in classes implementing this interface is not enforced.
\acdhOeaw\oai\data\MetadataFormat | $format | metadata format descriptor |
string | $resVar | variable used in the search query to denote the repository resource |