function 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 61

Class

views_plugin_pager
The base plugin to handle pager.

Code

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