function views_plugin_pager_none::query

Same name in other branches
  1. 6.x-3.x plugins/views_plugin_pager_none.inc \views_plugin_pager_none::query()

Overrides views_plugin_pager::query

File

plugins/views_plugin_pager_none.inc, line 97

Class

views_plugin_pager_none
Plugin for views without pagers.

Code

public function query() {
    // The only query modifications we might do are offsets.
    if (!empty($this->options['offset'])) {
        $this->view->query
            ->set_offset($this->options['offset']);
    }
}