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
|
|
| Name: |
Paginator |
| Base name: |
paginator |
| Description: |
Spliting database query result sets between pages. |
| Version: |
- |
| PHP version: |
- |
| License: |
GNU General Public License (GPL) |
| All time users: |
6694 users |
| All time rank: |
253 |
| Week users: |
4 users |
| Week rank: |
676  |
| |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (92.0%) |
Good (83.0%) |
Sufficient (79.5%) |
Good (84.8%) |
- |
- |
Sufficient (70.7%) |
175 |
| Month: |
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.
| Link |
Description |
| Paginator |
Documentation and live demo. |
| |
Files |
|
|