public function Pagerer::getTotalItems in Pagerer 8
Gets total items in the pager.
Return value
int The total number of items (records) managed by the pager.
Overrides PagererInterface::getTotalItems
File
- src/
Pagerer.php, line 180
Class
- Pagerer
- Pagerer pager management class.
Namespace
Drupal\pagererCode
public function getTotalItems() {
global $pager_total_items;
return isset($pager_total_items[$this->element]) ? $pager_total_items[$this->element] : 0;
}