function 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 343
Class
- views_plugin_pager_full
- The plugin to handle full pager.
Code
public 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;
}
}