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
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
$format
    private
        MetadataFormat
    $format
    
    
    
    
$res
Repository resource object
    private
        RepoResourceDb
    $res
    
    
    
    
Methods
__construct()
Creates a metadata object for a given repository resource.
    public
                    __construct(RepoResourceDb $resource, HeaderData $searchResultRow, MetadataFormat $format) : mixed
    Parameters
- $resource : RepoResourceDb
- 
                    a repository resource object 
- $searchResultRow : HeaderData
- 
                    search query result row 
- $format : MetadataFormat
- 
                    metadata format descriptor describing this resource 
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
QueryPartextendSearchFilterQuery()
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
Return values
QueryPartgetXml()
Creates resource's XML metadata
    public
                    getXml() : DOMElement