PHP Classes

Generic Pager: Browse listings of entries split in multiple 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
Not enough user ratingsTotal: 301 All time: 7,410 This week: 455Up
Version License PHP version Categories
generic_pager 1.0BSD License5HTML, PHP 5
Description 

Author

This class can be used to browse listings of entries split in multiple pages.

It takes as parameters the total number of list entries, the limit of entries to display per page and the number of current page.

The class can generate a HTML list with links to browse the listing pages, optionally with links to the previous, next, first and last pages.

The text labels and the CSS classes of the links are configurable.

Picture of Mark Rolich
  Performance   Level  
Innovation award
Innovation award
Nominee: 2x

 

  Files folder image Files (8)  
File Role Description
Files folder imageexamples (6 files)
Accessible without login HTML file help.html Doc. help documentation
Plain text file Pager.php Class Pagination class

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:301
This week:0
All time:7,410
This week:455Up
User Comments (1)
This is a very good and useful class :-)
13 years ago (José Filipe Lopes Santos)
80%StarStarStarStarStar