\FACTFinder\DataPaging

Summary

Methods
Properties
Constants
__construct()
getPageCount()
getFirstPage()
getLastPage()
getPreviousPage()
getCurrentPage()
getNextPage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$pageCount
$firstPage
$lastPage
$previousPage
$currentPage
$nextPage
N/A

Properties

$pageCount

$pageCount : integer

Type

integer

Methods

__construct()

__construct(array<mixed,\FACTFinder\Data\Page>  $pages, integer  $pageCount, \FACTFinder\Data\Page  $currentPage, \FACTFinder\Data\Page  $firstPage = null, \FACTFinder\Data\Page  $lastPage = null, \FACTFinder\Data\Page  $previousPage = null, \FACTFinder\Data\Page  $nextPage = null) 

Parameters

array<mixed,\FACTFinder\Data\Page> $pages

Array of page links.

integer $pageCount
\FACTFinder\Data\Page $currentPage
\FACTFinder\Data\Page $firstPage
\FACTFinder\Data\Page $lastPage
\FACTFinder\Data\Page $previousPage
\FACTFinder\Data\Page $nextPage

getPageCount()

getPageCount() 

getPreviousPage()

getPreviousPage() : \FACTFinder\Data\Page

Returns

\FACTFinder\Data\Page —

can be null

getCurrentPage()

getCurrentPage() : \FACTFinder\Data\Page

Returns

\FACTFinder\Data\Page —

can be null