You are here

public function views_oai_pmh_plugin_row_misc::render in Views OAI-PMH 7.2

Same name and namespace in other branches
  1. 6.2 plugins/views_oai_pmh_plugin_row_misc.inc \views_oai_pmh_plugin_row_misc::render()

Theme up the given row and return the resulting code.

Parameters

array $row The row to render.:

Return value

string Themed content for the given row.

Overrides views_plugin_row::render

File

plugins/views_oai_pmh_plugin_row_misc.inc, line 61
Definition of the views_oai_pmh_plugin_row_misc class.

Class

views_oai_pmh_plugin_row_misc
@file Definition of the views_oai_pmh_plugin_row_misc class.

Code

public function render($row) {
  $theme_options = array(
    'view' => $this->view,
    'options' => $this->options,
    'row' => $row,
    'metadata_format' => $this->_metadata_format,
    'nodes' => &$this->nodes,
  );
  $return = theme($this
    ->theme_functions(), $theme_options);

  // Reset the internal nodes list to just the top level node.
  $this->nodes->value = NULL;
  return $return;
}