1.20.x 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.

File

modules/views/plugins/views_plugin_pager.inc, line 63
Definition of views_plugin_pager.

Class

views_plugin_pager
The base plugin to handle pager.

Code

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