You are here

function views_plugin_pager::set_items_per_page 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::set_items_per_page()

Set how many items per page this pager will display.

This is mostly used for things that will override the value.

1 call to views_plugin_pager::set_items_per_page()
views_plugin_pager_none::init in plugins/views_plugin_pager_none.inc
Initialize the plugin.

File

plugins/views_plugin_pager.inc, line 42

Class

views_plugin_pager
The base plugin to handle pager.

Code

function set_items_per_page($items) {
  $this->options['items_per_page'] = $items;
}