PHP Classes

Classes of ted kappes

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of ted kappes (1)  >  Mission progress status  >  Reputation  
Picture of ted kappes
Name: ted kappes <contact>
Classes: 1
Country: United States United States
Age: ???
All time rank: 40350 in United States United States
Week rank: 195 Up19 in United States United States Up
All time users: 6864
Week users: 0
 

 

  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Paginator  
Spliting database query result sets between pages.
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


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z