function views_plugin_style_xhtml::render in Views Datasource 7
Same name and namespace in other branches
- 6 views_plugin_style_xhtml.inc \views_plugin_style_xhtml::render()
Implements view_style_plugin::render()
Overrides views_plugin_style::render
File
- views/
plugins/ views_plugin_style_xhtml.inc, line 140 - Implements views_plugin_style for views_xhtml
Class
- views_plugin_style_xhtml
- 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_xhtml_render_fields($view, $row);
}
unset($view->row_index);
return theme($this
->theme_functions(), array(
'view' => $view,
'options' => $options,
'rows' => $rows,
));
}