You are here

public function views_plugin_style::render in Views (for Drupal 7) 7.3

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

Render the display in this style.

5 methods override views_plugin_style::render()
views_plugin_style_jump_menu::render in plugins/views_plugin_style_jump_menu.inc
Render the display in this style.
views_plugin_style_mapping::render in plugins/views_plugin_style_mapping.inc
Render the display in this style.
views_plugin_style_rss::render in plugins/views_plugin_style_rss.inc
Render the display in this style.
views_plugin_style_summary::render in plugins/views_plugin_style_summary.inc
Render the display in this style.
views_plugin_style_summary_jump_menu::render in plugins/views_plugin_style_summary_jump_menu.inc
Render the display in this style.

File

plugins/views_plugin_style.inc, line 341
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

public 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);
}