PHP Classes

Paginate: Generate paginated navigation links

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 2,045 All time: 1,919 This week: 488Up
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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,045
This week:0
All time:1,919
This week:488Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:58%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3858