data\Pagination $route

$route public property The route of the controller action for displaying the paged contents. If not set, it means using the currently requested route. public string $route = null

data\Pagination $params

$params public property Parameters (name => value) that should be used to obtain the current page number and to create new pagination URLs. If not set, all parameters from $_GET will be used instead. In order to add hash to all links use array_merge($_GET, ['#' => 'my-hash']). The array element indexed by $pageParam is considered to be the current page number (defaults to 0); while the element indexed by $pageSizeParam is treated as the page size (defaults to $defaultPageSize). publi

data\Pagination $pageSizeParam

$pageSizeParam public property Name of the parameter storing the page size. See also $params. public string $pageSizeParam = 'per-page'

data\Pagination $pageSizeLimit

$pageSizeLimit public property The page size limits. The first array element stands for the minimal page size, and the second the maximal page size. If this is false, it means $pageSize should always return the value of $defaultPageSize. public array|false $pageSizeLimit = [1, 50]

data\Pagination $pageSize

$pageSize public property The number of items per page. If it is less than 1, it means the page size is infinite, and thus a single page contains all items. public integer getPageSize ( )public void setPageSize ( $value, $validatePageSize = false )

data\Pagination $pageParam

$pageParam public property Name of the parameter storing the current page index. See also $params. public string $pageParam = 'page'

data\Pagination $pageCount

$pageCount public read-only property Number of pages public integer getPageCount ( )

data\Pagination $page

$page public property The zero-based current page number. public integer getPage ( $recalculate = false )public void setPage ( $value, $validatePage = false )

data\Pagination $offset

$offset public read-only property The offset of the data. This may be used to set the OFFSET value for a SQL statement for fetching the current page of data. public integer getOffset ( )

data\Pagination $links

$links public read-only property The links for navigational purpose. The array keys specify the purpose of the links (e.g. LINK_FIRST), and the array values are the corresponding URLs. public array getLinks ( $absolute = false )