function views_plugin_pager::get_items_per_page in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/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.
4 calls to views_plugin_pager::get_items_per_page()
- views_plugin_pager::has_more_records in plugins/
views_plugin_pager.inc - Determine if there are more records available.
- views_plugin_pager_full::exposed_form_alter in plugins/
views_plugin_pager_full.inc - views_plugin_pager_full::get_pager_total in plugins/
views_plugin_pager_full.inc - views_plugin_pager_full::update_page_info in plugins/
views_plugin_pager_full.inc - Update global paging info.
1 method overrides views_plugin_pager::get_items_per_page()
- views_plugin_pager_none::get_items_per_page in plugins/
views_plugin_pager_none.inc - Get how many items per page this pager will display.
File
- plugins/
views_plugin_pager.inc, line 33
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;
}