You are here

function theme_views_oai_pmh_response in Views OAI-PMH 7.3

Themes the XML response.

Available variables:

  • view: The view.
  • options: The options of the view style.
  • request: A views_oai_pmh_request object describing the parsed request arguments.
  • xml: A DOMDocument object containing the response.
  • xml_root: The DOMElement object at the root of the XML document.
  • xml_verb: The DOMElement object at the root of the actual response to the OAI-PMH verb, e.g. <Identify>, <GetRecord>, etc. May be NULL on erroneous requests.
1 theme call to theme_views_oai_pmh_response()
views_oai_pmh_plugin_style::render in plugins/views_oai_pmh_plugin_style.inc
Render.

File

./views_oai_pmh.theme.inc, line 39
Theme functions for Views OAI-PMH.

Code

function theme_views_oai_pmh_response($variables) {
  return $variables['xml']
    ->saveXML();
}