PHP Classes

MyPager: Output navigation links to split listings in pages

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
StarStarStarStar 61%Total: 562 All time: 5,433 This week: 488Up
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: 44
All time rank: 61 in United States United States
Week rank: 170 Down21 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

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

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:562
This week:0
All time:5,433
This week:488Up
 User Ratings  
 
 All time
Utility:90%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1091