1.20.x views_plugin_style.inc views_plugin_style::render()

Render the display in this style.

File

modules/views/plugins/views_plugin_style.inc, line 326
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

function render() {
  if ($this->uses_row_plugin() && empty($this->row_plugin)) {
    debug('views_plugin_style_default: Missing row plugin');
    return;
  }

  // Group the rows according to the grouping instructions, if specified.
  $sets = $this->render_grouping(
  $this->view->result, 
  $this->options['grouping'], 
  TRUE
  );

  return $this->render_grouping_sets($sets);
}