function views_plugin_pager::get_offset

Get the page offset, or how many items to skip.

Even pagers that don't actually page can skip items at the beginning, so few pagers will need to override this method.

2 calls to views_plugin_pager::get_offset()
views_plugin_pager_full::exposed_form_alter in plugins/views_plugin_pager_full.inc
views_plugin_pager_full::query in plugins/views_plugin_pager_full.inc
Modify the query for paging.

File

plugins/views_plugin_pager.inc, line 71

Class

views_plugin_pager
The base plugin to handle pager.

Code

public function get_offset() {
    return isset($this->options['offset']) ? (int) $this->options['offset'] : 0;
}