1 views_plugin_pager.inc views_plugin_pager::get_items_per_page()

Get how many items per page this pager will display.

All but the leanest pagers should probably return a value here, so most pagers will not need to override this method.

File

core/modules/views/plugins/views_plugin_pager.inc, line 43
Definition of views_plugin_pager.

Class

views_plugin_pager
The base plugin to handle pager.

Code

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