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
think
Paginator
hasPages
think\Paginator::hasPages PHP Method
Paginator Class Documentation
Show file
Open project: top-think/framework
hasPages()
public
method
数据是否足够分页
public
hasPages
( ) :
boolean
return
boolean
public function hasPages() { return !($this->currentPage == 1 && !$this->hasMore); }
Paginator
__construct
appends
buildFragment
currentPage
fragment
getCurrentPage
getCurrentPath
getUrlRange
hasPages
lastPage
listRows
make
render
setCurrentPage
total
url