You are here

function theme_views_oai_pmh_metadataformats_body in Views OAI-PMH 7.2

Same name and namespace in other branches
  1. 6.2 theme/views_oai_pmh.theme.inc \theme_views_oai_pmh_metadataformats_body()
  2. 6 theme/views_oai_pmh.theme.inc \theme_views_oai_pmh_metadataformats_body()
  3. 7 theme/views_oai_pmh.theme.inc \theme_views_oai_pmh_metadataformats_body()
1 theme call to theme_views_oai_pmh_metadataformats_body()
views_oai_pmh_plugin_style::render_content in plugins/views_oai_pmh_plugin_style.inc

File

theme/views_oai_pmh.theme.inc, line 203
Theme related functions for processing our output style plugins.

Code

function theme_views_oai_pmh_metadataformats_body($vars) {
  $formats = '';
  $formats .= format_xml_elements(array(
    'metadataFormat' => array(
      'metadataPrefix' => 'oai_dc',
      'schema' => 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd',
      'metadataNamespace' => 'http://www.openarchives.org/OAI/2.0/oai_dc/',
    ),
  ));
  return $formats;
}