Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pagination
countPages
Pagination::countPages PHP Method
Pagination Class Documentation
Show file
Open project: getkirby/toolkit
countPages()
public
method
Returns the total number of pages
public
countPages
( ) :
integer
return
integer
public function countPages() { return $this->pages; }
Pagination
__construct
__debuginfo
countItems
countPages
firstPage
firstPageURL
hasNextPage
hasPages
hasPrevPage
isFirstPage
isLastPage
items
lastPage
lastPageURL
limit
nextPage
nextPageURL
numEnd
numStart
offset
page
pageURL
pages
prevPage
prevPageURL
range
rangeEnd
rangeStart
redirect
toArray