Interface PaginatedInterface
This interface describes the methods for pagination instance.
Namespace: Cake\Datasource\Paging
Method Summary
-
currentPage() public
Get current page number.
-
hasNextPage() public
Get whether there's a next page.
-
hasPrevPage() public
Get whether there's a previous page.
-
items() public
Get paginated items.
-
pageCount() public
Get total page count.
-
pagingParam() public
Get paging param.
-
pagingParams() public
Get all paging params.
-
perPage() public
Get items per page.
-
totalCount() public
Get Total items counts.
Method Detail
pagingParam() ¶ public
pagingParam(string $name): mixed
Get paging param.
Parameters
-
string
$name
Returns
mixed