PHP Classes

Holy Pagination: Display pagination links using templates

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
Not enough user ratingsTotal: 545 All time: 5,514 This week: 200Up
Version License PHP version Categories
holypagination 0.1GNU General Publi...5.0HTML
Description Author

This class can be used to display pagination links using templates for listings split between multiple pages.

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

The class returns HTML with links to go to other pages of the listing using templates that define if and how it will show links for the previous, next, first, last pages.

Picture of Marcos Taranta
Name: Marcos Taranta <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 33
All time rank: 2494173 in Brazil Brazil
Week rank: 553 Up40 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file pagination.php Class The main class
Accessible without login Plain text file pagination_example.php Example Little usage example of the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,514
This week:200Up
User Comments (1)
Fairly well presented, fairly well written.
14 years ago (F Philip DeGeorge)