PHP Classes

MyPager: Output navigation links to split listings in pages

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
StarStarStarStar 67%Total: 559 All time: 5,402 This week: 204Up
Version License Categories
mypager 1.0GNU General Publi...HTML
Description Author

This class can be used to display navigation HTML links to split listings in multiple pages.

It can takes as parameters the number of listing entries to display per page, the total number of entries and the number of the first entry to display in the current page.

It can display links to go to the first page, previous page, next page and last page, as well links to intermediate page links upto a configurable limit number of links.

It may also display an informative message to mention the range of entries displayed in the current page like this "Display 144-174 of 350".

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 42
All time rank: 61 in United States United States
Week rank: 112 Down7 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file mypager.class.php Class Class source
Accessible without login Plain text file sample.php Example Sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:559
This week:0
All time:5,402
This week:204Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:622
  
For more information send a message to info at phpclasses dot org.