MetadataFormat
        
        extends stdClass
    
    
            
            in package
            
        
    
    
    
Container for OAI-PMH metada format data (both properties used by the OAI-PMH protocol and by this implementation).
Tags
Table of Contents
Properties
- $class : string
- Class implementing a given metadata format
- $cmdiSchemaProp : string
- Used by: CmdiMetadata
- $info : RepositoryInfo
- Set by core
- $keepComments : bool
- Used by: TemplateMetadata
- $metadataNamespace : string
- OAI-PMH metadataNamespace
- $metadataPrefix : string
- OAI-PMH metadataPrefix
- $metaResProp : string
- Used by: ResMetadata, CmdiMetadata
- $rdfNamespaces : array<string, string>
- Used by: TemplateMetadata
- $requestOptions : array<string, mixed>
- Used by: ResMetadata, CmdiMetadata
- $schema : string
- OAI-PMH metadata schema
- $templatePath : string
- Used by: TemplateMetadata
- $valueMaps : array<string, string>
- Used by: TemplateMetadata
- $xmlErrors : bool
- Used by: TemplateMetadata
Methods
- __construct() : mixed
- Creates a metadata format descriptor
Properties
$class
Class implementing a given metadata format
    public
        string
    $class
    
        Required by: core
$cmdiSchemaProp
Used by: CmdiMetadata
    public
        string
    $cmdiSchemaProp
    
    
    
    
$info
Set by core
    public
        RepositoryInfo
    $info
    
    
    
    
$keepComments
Used by: TemplateMetadata
    public
        bool
    $keepComments
    
    
    
    
$metadataNamespace
OAI-PMH metadataNamespace
    public
        string
    $metadataNamespace
    
        Required by: core
Tags
$metadataPrefix
OAI-PMH metadataPrefix
    public
        string
    $metadataPrefix
    
        Required by: core
Tags
$metaResProp
Used by: ResMetadata, CmdiMetadata
    public
        string
    $metaResProp
    
    
    
    
$rdfNamespaces
Used by: TemplateMetadata
    public
        array<string, string>
    $rdfNamespaces
     = []
    
    
    
$requestOptions
Used by: ResMetadata, CmdiMetadata
    public
        array<string, mixed>
    $requestOptions
     = []
    
    
    
$schema
OAI-PMH metadata schema
    public
        string
    $schema
    
        Required by: core, CmdiMetadata
Tags
$templatePath
Used by: TemplateMetadata
    public
        string
    $templatePath
    
    
    
    
$valueMaps
Used by: TemplateMetadata
    public
        array<string, string>
    $valueMaps
     = []
    
    
    
$xmlErrors
Used by: TemplateMetadata
    public
        bool
    $xmlErrors
    
    
    
    
Methods
__construct()
Creates a metadata format descriptor
    public
                    __construct([object|null $fields = null ]) : mixed
    Parameters
- $fields : object|null = null
- 
                    values to set in the descriptor