function views_plugin_pager_none::init

Overrides views_plugin_pager::init

File

plugins/views_plugin_pager_none.inc, line 18

Class

views_plugin_pager_none
Plugin for views without pagers.

Code

public function init(&$view, &$display, $options = array()) {
    parent::init($view, $display, $options);
    // If the pager is set to none, then it should show all items.
    $this->set_items_per_page(0);
}