Login   Register  
PHP Classes
elePHPant
Icontem

Class: Paginator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of ted kappes  >  Paginator  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Paginator
Base name: paginator
Description: Spliting database query result sets between pages.
Related classes: , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 6460 users
All time rank: 247
Week users: 9 users
Week rank: 388
Picture of ted kappes
Author: ted kappes <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 33538 in United States United States
Week rank: 422 Down50 Down in United States United States


  Detailed description  
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

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes

  Rate classes User ratings   Trackback   Applications   Related links   Files Files  

  User ratings  
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%)
163
Month:
Not yet rated by the users

  Trackback links  
Link Description
Cum implementez/gandesc asta? Ai si exemple acolo...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Paginator Documentation and live demo.

  Files folder image Files  
File Role Description
Plain text file example1.php Example Working example of use
Plain text file example2.php Example Working example of use
Plain text file example3.php Example Working example of use.
Plain text file example4.php Example Working example of use
Plain text file index.php Doc. Index page for docs
Plain text file Install_Examples.txt Doc. Installing the examples
Plain text file mysql.php Doc. mySQL use documentation
Plain text file mySQL.txt Doc. mySQL Instructions
Plain text file paginator.php Class Main Paginator page
Plain text file paginator_doc.php Doc. General documentation
Plain text file paginator_html.php Class Extension to add pre-made links
Plain text file README.txt Doc. General Information
Plain text file static_page.php Class Class to paginate static files
Plain text file static_page_instructions.txt Doc. Instructions for Static_page

Download all files: paginator.tar.gz paginator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.