Login   Register  
PHP Classes

Holy Pagination: Display pagination links using templates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-02-21 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 540 All time: 5,088 This week: 1,572Up
Version License PHP version Categories  
holypagination 0.1GNU General Public Lice...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: 25
All time rank: 2290162 in Brazil Brazil
Week rank: 953 Up82 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  
 0%Total:540All time:5,088
 This week:0This week:1,572Up
 User Comments (1)  
Fairly well presented, fairly well written.
5 years ago (F Philip DeGeorge)