You are here

function views_plugin_pager::get_offset in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_pager.inc \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.

1 call to views_plugin_pager::get_offset()
views_plugin_pager_full::exposed_form_alter in plugins/views_plugin_pager_full.inc

File

plugins/views_plugin_pager.inc, line 52

Class

views_plugin_pager
The base plugin to handle pager.

Code

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