PHP Classes

Paginate: Generate paginated navigation links

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-12-29 (10 years ago) RSS 2.0 feedStarStar 39%Total: 2,039 All time: 1,864 This week: 953Up
Version License Categories
paginate 1.0The PHP LicenseHTML
Description Author

This is a simple class that can be used to generate paginated navigation links for listings of arbitrary data split between multiple pages.

It takes as parameter the total number of items in a listing, the limit of items to display per page and the number of the current page.

It generates links to the first page, next page, previous page, last page and any intermediate pages upto a limit defined by a class variable.

The links to the first, last, next, previous page show as images.

Picture of bas
Name: bas <contact>
Classes: 2 packages by
Country: United States United States
Age: 33
All time rank: 1253166 in United States United States
Week rank: 1580 Down167 in United States United States Down

  Files folder image Files  
File Role Description
Plain text file class.paginate.php Class pagination class
Accessible without login Plain text file Usage.txt Doc. Usage of Pagination

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,864
This week:953Up
 User Ratings  
 All time