W3cubDocs

/Phalcon 2

Interface Phalcon\Paginator\AdapterInterface

Phalcon\Paginator\AdapterInterface initializer

Methods

abstract public setCurrentPage (int $page)

Set the current page number

abstract public stdClass getPaginate ()

Returns a slice of the resultset to show in the pagination

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Paginator_AdapterInterface.html