public function views_plugin_style_summary::query in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 plugins/views_plugin_style_summary.inc \views_plugin_style_summary::query()
- 6.2 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 32 - Definition of views_plugin_style_summary.
Class
- views_plugin_style_summary
- The default style plugin for summaries.
Code
public function query() {
if (!empty($this->options['override'])) {
$this->view
->set_items_per_page(intval($this->options['items_per_page']));
}
}