DEFAULT_PAGE
DEFAULT_PAGE
The DatabasePagination makes a Pagination SQL-aware
setData(array $data) : \Charcoal\Source\Pagination
array | $data | The pagination data (page, num_per_page). |
Chainable
setPage(integer $page) : \Charcoal\Source\Pagination
integer | $page | The current page. Start at 0. |
If the parameter is not numeric or < 0.
(Chainable)
setNumPerPage(integer $num) : \Charcoal\Source\Pagination
integer | $num | The number of results to retrieve, per page. |
If the parameter is not numeric or < 0.
(Chainable)