You are here

function views_plugin_style_rdf::render in Views Datasource 7

Same name and namespace in other branches
  1. 6 views_plugin_style_rdf.inc \views_plugin_style_rdf::render()

Implements view_style_plugin::render()

Overrides views_plugin_style::render

File

views/plugins/views_plugin_style_rdf.inc, line 133
Implementation of views_plugin_style for views_rdf

Class

views_plugin_style_rdf
Implements views_plugin_style

Code

function render() {
  $view = $this->view;
  $options = $this->options;
  $field = $view->field;
  $rows = array();
  foreach ($view->result as $count => $row) {
    $view->row_index = $count;
    $rows[] = _views_rdf_render_fields($view, $row);
  }
  unset($view->row_index);
  return theme($this
    ->theme_functions(), array(
    'view' => $view,
    'options' => $options,
    'rows' => $rows,
  ));
}