Login   Register  
PHP Classes
elePHPant
Icontem

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: 539 This week: 1All time: 5,072 This week: 1,410Up
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: 2280162 in Brazil Brazil
Week rank: 1096 Up92 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:539All time:5,072
 This week:1This week:1,410Up
 User Comments (1)  
 
Fairly well presented, fairly well written.
5 years ago (F Philip DeGeorge)
55%StarStarStar