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
redirect
Pagination::redirect PHP Method
Pagination Class Documentation
Show file
Open project: getkirby/toolkit
redirect()
public
method
Redirects to an error page if the redirect option is set and the pagination is beyond the allowed boundaries
public
redirect
( )
public function redirect() { if ($redirect = $this->options['redirect']) { go($redirect); } }
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