PHP Classes

Paginate: Generate paginated navigation links

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (9 years ago) RSS 2.0 feedStarStar 39%Total: 2,035 All time: 1,843 This week: 1,112Up
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: 32
All time rank: 1227164 in United States United States
Week rank: 1602 Down162 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  
 0%Total:2,035All time:1,843
 This week:0This week:1,112Up
 User Ratings  
 All time