class views_oai_pmh_format_oai_dc in Views OAI-PMH 7.3
Class views_oai_pmh_format_oai_dc.
Hierarchy
- class \views_oai_pmh_format
- class \views_oai_pmh_format_oai_dc
Expanded class hierarchy of views_oai_pmh_format_oai_dc
File
- includes/
formats/ oai_dc.inc, line 11 - Definition of the OAI Dublin Core (DC) data format.
View source
class views_oai_pmh_format_oai_dc extends views_oai_pmh_format {
/**
* Construct.
*/
public function __construct() {
parent::__construct('oai_dc', t('Dublin Core'));
$this->schema = 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd';
$this->namespaces = array(
'xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
'oai_dc' => 'http://www.openarchives.org/OAI/2.0/oai_dc/',
'dc' => 'http://purl.org/dc/elements/1.1/',
);
$this->metadata_namespace_prefix = 'oai_dc';
$this->root_element = 'oai_dc:dc';
$this->root_attributes = array(
'xmlns:xsi' => $this->namespaces['xsi'],
'xsi:schemaLocation' => $this->namespaces['oai_dc'] . ' ' . $this->schema,
'xmlns:oai_dc' => $this->namespaces['oai_dc'],
'xmlns:dc' => $this->namespaces['dc'],
);
$this->elements = array(
'none' => t('- None -'),
'dc:title' => 'dc:title',
'dc:creator' => 'dc:creator',
'dc:subject' => 'dc:subject',
'dc:description' => 'dc:description',
'dc:publisher' => 'dc:publisher',
'dc:contributor' => 'dc:contributor',
'dc:date' => 'dc:date',
'dc:type' => 'dc:type',
'dc:format' => 'dc:format',
'dc:identifier' => 'dc:identifier',
'dc:source' => 'dc:source',
'dc:language' => 'dc:language',
'dc:relation' => 'dc:relation',
'dc:coverage' => 'dc:coverage',
'dc:rights' => 'dc:rights',
);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_oai_pmh_format:: |
public | property | An array describing the attributes that are allowed. | |
views_oai_pmh_format:: |
public | property | An array describing the mapping options, tags or attributes. | |
views_oai_pmh_format:: |
public | property | Identifier (or prefix, in OAI-PMH's terminology) for this metadata format. | |
views_oai_pmh_format:: |
public | property | A descriptive name of the data format. | |
views_oai_pmh_format:: |
public | property | The prefix of the metadata namespace for this format. | |
views_oai_pmh_format:: |
public | property | The XML namespaces required by this metadata format. | |
views_oai_pmh_format:: |
public | property | The attributes to assign to the root tag. | |
views_oai_pmh_format:: |
public | property | The element that acts as the root of each OAI record in the generated XML. | |
views_oai_pmh_format:: |
public | property | The schema for this format. | |
views_oai_pmh_format:: |
public | function | Return the metadata namespace. | |
views_oai_pmh_format_oai_dc:: |
public | function |
Construct. Overrides views_oai_pmh_format:: |