Documentation

CmdiMetadata extends ResMetadata
in package

Specialization of ResMetadata class checking if the CMDI schema matches metadata format requested by the user.

Required metadata format definitition properties:

  • metaResProp
  • cmdiSchemaProp
  • schema
  • requestOptions - Guzzle request options (http://docs.guzzlephp.org/en/stable/request-options.html) to be used while fetching the metadata resource
Tags
author

zozlak

Table of Contents

Properties

$format  : MetadataFormat
$res  : RepoResourceDb
Repository resource object

Methods

__construct()  : mixed
Creates a metadata object for a given repository resource.
extendSearchDataQuery()  : QueryPart
This implementation has no fetch additional data trough the search query.
extendSearchFilterQuery()  : QueryPart
Returns a search query part: - fetching additional data required by the `__construct()` method (implemented in parent class) - assuring that the linked CMDI resource has the right schema
getXml()  : DOMElement
Creates resource's XML metadata

Properties

Methods

extendSearchDataQuery()

This implementation has no fetch additional data trough the search query.

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

metadata format descriptor

Return values
QueryPart

extendSearchFilterQuery()

Returns a search query part: - fetching additional data required by the `__construct()` method (implemented in parent class) - assuring that the linked CMDI resource has the right schema

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

metadata format descriptor

Tags
see
__construct()
Return values
QueryPart

getXml()

Creates resource's XML metadata

public getXml() : DOMElement
Tags
throws
OaiException
Return values
DOMElement

        
On this page

Search results