function views_plugin_pager_full::get_pager_total in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/views_plugin_pager_full.inc \views_plugin_pager_full::get_pager_total()
1 call to views_plugin_pager_full::get_pager_total()
- views_plugin_pager_full::update_page_info in plugins/
views_plugin_pager_full.inc - Update global paging info.
File
- plugins/
views_plugin_pager_full.inc, line 240
Class
- views_plugin_pager_full
- The plugin to handle full pager.
Code
function get_pager_total() {
if ($items_per_page = intval($this
->get_items_per_page())) {
return ceil($this->total_items / $items_per_page);
}
else {
return 1;
}
}