function views_plugin_pager::set_items_per_page

3.x views_plugin_pager.inc views_plugin_pager::set_items_per_page($items)

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()

File

plugins/views_plugin_pager.inc, line 53
Definition of views_plugin_pager.

Class

views_plugin_pager
The base plugin to handle pager.

Code

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