Login   Register  
PHP Classes
elePHPant
Icontem

Pagination link class: Generate pagination links for long listings

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  
2013-04-28 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 563 All time: 4,959 This week: 1,572Up
Version License PHP version Categories  
pagination-class 1.0BSD License5.0HTML, PHP 5
Description Author  

This class can generate pagination links for long listings.

It takes as parameters the total number of items in the listing, the limit of items to show per page, the limit number of pagination links to show per page and the current page number.

The class can generate HTML to display all the current page pagination links.

Templates can be used to define the HTML template for the links, for the number of the current and total pages, the URL of the links, and the link separator.

Picture of alismith
Name: alismith <contact>
Classes: 1 package by
Country: Iran Iran
Age: 22
All time rank: 281650 in Iran Iran
Week rank: 1555 Up43 in Iran Iran Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file Example Example pagination class usage example
Plain text file pagination.php Class pagination class compatible with any design pattern

 Version Control Unique User Downloads Download Rankings  
 0%Total:563All time:4,959
 This week:0This week:1,572Up