You are here

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

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

Render the display in this style.

Overrides views_plugin_style::render

File

plugins/views_plugin_style_summary.inc, line 76
Definition of views_plugin_style_summary.

Class

views_plugin_style_summary
The default style plugin for summaries.

Code

public function render() {
  $rows = array();
  foreach ($this->view->result as $row) {

    // @todo Include separator as an option.
    $rows[] = $row;
  }
  return theme($this
    ->theme_functions(), array(
    'view' => $this->view,
    'options' => $this->options,
    'rows' => $rows,
  ));
}