PHP Classes

Generic Pager: Browse listings of entries split in multiple pages

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 301 All time: 7,405 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  
Name: Mark Rolich <contact>
Classes: 8 packages by
Country: Armenia Armenia
Age: 43
All time rank: 9051 in Armenia Armenia
Week rank: 360 Up1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
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

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file array.data.php Aux. Data for array pagination example
  Accessible without login Plain text file array.php Example Example of array pagination
  Accessible without login Plain text file custom.php Example Example of customized pagination
  Accessible without login Plain text file example.css Data CSS file for examples
  Accessible without login Plain text file mysql.data.sql Data Data for mysql pagination example
  Accessible without login Plain text file mysql.php Example Example of mysql pagination

 Version Control Unique User Downloads Download Rankings  
 0%
Total:301
This week:0
All time:7,405
This week:455Up
User Comments (1)
This is a very good and useful class :-)
12 years ago (José Filipe Lopes Santos)
80%StarStarStarStarStar