You are here

function views_plugin_style_summary::query in Views (for Drupal 7) 6.2

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

Add anything to the query that we might need to.

Overrides views_plugin_style::query

File

plugins/views_plugin_style_summary.inc, line 24
Contains the default summary style plugin, which displays items in an HTML list.

Class

views_plugin_style_summary
The default style plugin for summaries.

Code

function query() {
  if (!empty($this->options['override'])) {
    $this->view
      ->set_items_per_page(intval($this->options['items_per_page']));
  }
}