Interface PaginatorInterface
This interface describes the methods for paginator instance.
Namespace: Cake\Datasource\Paging
Method Summary
-
paginate() public
Handles pagination of data.
Method Detail
paginate() ΒΆ public
paginate(mixed $target, array $params = [], array $settings = []): Cake\Datasource\Paging\PaginatedInterface
Handles pagination of data.
Parameters
-
mixed
$target Anything that needs to be paginated.
-
array
$params optional Request params.
-
array
$settings optional The settings/configuration used for pagination.
Returns
Cake\Datasource\Paging\PaginatedInterface