function Full::get_pager_total in Views (for Drupal 7) 8.3
1 call to Full::get_pager_total()
- Full::update_page_info in lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php - Update global paging info.
File
- lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php, line 345 - Definition of Drupal\views\Plugin\views\pager\Full.
Class
- Full
- The plugin to handle full pager.
Namespace
Drupal\views\Plugin\views\pagerCode
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;
}
}