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
hasPages
Pagination::hasPages PHP Method
Pagination Class Documentation
Show file
Open project: getkirby/toolkit
hasPages()
public
method
Checks if multiple pages are needed or if the collection can be displayed on a single page
public
hasPages
( ) :
boolean
return
boolean
public function hasPages() { return $this->countPages() > 1; }
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