$dcNmsp
$dcNmsp : string
Dublin Core namespace
Creates OAI-PMH <metadata> element in Dublin Core format from a FedoraResource RDF metadata.
It reads the metadata property mappings from the ontology being part of the repository by searching for: [ontologyRes] --cfg:fedoraIdProp--> acdhProp [ontologyRes] --cfg:oaiEqProp--> dcProp and [dcRes] --cfg:oaiEqProp--> acdhProp [dcRes] --cfg:fedoraIdProp--> dcProp
Requires metadata format configuration properties:
$format : \acdhOeaw\oai\data\MetadataFormat
Metadata format descriptor
__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  | 
                            
init(\acdhOeaw\fedora\Fedora $fedora, \acdhOeaw\oai\data\MetadataFormat $format)
Fetches mappings from the triplestore
| \acdhOeaw\fedora\Fedora | $fedora | |
| \acdhOeaw\oai\data\MetadataFormat | $format |