PHP Classes

Holy Pagination: Display pagination links using templates

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
StarStarStar 41%Total: 546 All time: 5,544 This week: 488Up
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

 

  Files folder image Files (2)  
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

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:546
This week:0
All time:5,544
This week:488Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:3721
 
Fairly well presented, fairly well written.
16 years ago (F Philip DeGeorge)
55%StarStarStar