public function PagererInterface::init in Pagerer 8
Initializes the pager.
Parameters
int $total: The total number of items to be paged.
int $limit: The number of items the calling code will display per page.
Return value
\Drupal\pagerer\Pagerer The Pagerer pager object.
1 method overrides PagererInterface::init()
- Pagerer::init in src/
Pagerer.php - Initializes the pager.
File
- src/
PagererInterface.php, line 65
Class
- PagererInterface
- Provides an interface for the Pagerer pager management class.
Namespace
Drupal\pagererCode
public function init($total, $limit);