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    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 2,044 All time: 1,915 This week: 173Up
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: 39
All time rank: 1306188 in United States United States
Week rank: 587 Up59 in United States United States Up

  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,915
This week:173Up
 User Ratings  
 All time