v1.0.0
English

Pager.php

system/Pager/Pager.php
1 class 22 methods

class Pager

Class Pager The Pager class provides semi-automatic and manual methods for creating pagination links and reading the current url's query variable, "page" to determine the current page. This class can support multiple paginations on a single page.
__construct (PagerConfig $config, RendererInterface $view) public
links (string $group = 'default', string $template = 'default_full') public
simpleLinks (string $group = 'default', string $template = 'default_simple') public
makeLinks (int $page, ?int $perPage, int $total, string $template = 'default_full', int $segment = 0, ?string $group = 'default') public
displayLinks (string $group, string $template) protected
store (string $group, int $page, ?int $perPage, int $total, int $segment = 0) public
setSegment (int $number, string $group = 'default') public
setPath (string $path, string $group = 'default') public
getTotal (string $group = 'default') public
getPageCount (string $group = 'default') public
getCurrentPage (string $group = 'default') public
hasMore (string $group = 'default') public
getLastPage (string $group = 'default') public
getFirstPage (string $group = 'default') public
getPageURI (?int $page = null, string $group = 'default', bool $returnObject = false) public
getNextPageURI (string $group = 'default', bool $returnObject = false) public
getPreviousPageURI (string $group = 'default', bool $returnObject = false) public
getPerPage (string $group = 'default') public
getDetails (string $group = 'default') public
only (array $queries) public
ensureGroup (string $group, ?int $perPage = null) protected
calculateCurrentPage (string $group) protected
phpDG v1.0.0 Pager.php 662 files 498 classes 763 fn
Generated