Interface PaginatorInterface
This interface describes the methods for paginator instance.
Direct Implementers
Method Summary
-
getPagingParams() public
Get paging params after pagination operation. -
paginate() public
Handles pagination of datasource records.
Method Detail
getPagingParams() public ¶
getPagingParams( )
Get paging params after pagination operation.
Returns
array
paginate() public ¶
paginate( Cake\Datasource\RepositoryInterface
|Cake\Datasource\QueryInterface
$object , array $params [] , array $settings [] )
Handles pagination of datasource records.
Parameters
-
Cake\Datasource\RepositoryInterface
|Cake\Datasource\QueryInterface
$object - The repository or query to paginate.
- array $params optional []
- Request params
- array $settings optional []
- The settings/configuration used for pagination.