Paginator is a class that can help you to split MySQL database query result sets in pages.
Paginator will return a number that can be used to set your start result row and a number to use as an offset.
The class methods return values that you can use to create your navigation links. The values it presently returns are:
* First of in a series
* Second of in a series
* Total items in a series
* Total Pages
* First page
* Last page
* Previous page
* Next page
* Current page
* A set of numbered links
* The name of the current page.
There is also Paginator_html which is an extension to the Paginator class. It includes methods that supply a pre-defined HTML links like in these examples:
5 of 8 of 25 First | Prev | Next | Last |
Previous 1 2 3 4 5 6 7 Next
||Not yet rated by the users
||Applications that use this class
No application links were specified for this class.
If you know an application of this package, send a message to the author
to add a link here.
||Documentation and live demo.