PHP Classes

Page: Generate navigation links for lists split in pages

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
Not enough user ratingsTotal: 655 All time: 4,906 This week: 488Up
Version License Categories
class_pagination 1.0Freely DistributableHTML
Description 

Author

This class can be used to generate navigation links for listings split in multiple pages.

It generates links to go to different pages of listings that show a limited number of entries per page, given the total number of entries and the current listing page number.

It can generate links to the first, last, next, previous and any intermediate pages.

It can also generate an SQL LIMIT clause to retrieve entries from a database to display in the current listing page.

Picture of Utsarg Narain Bhardwaj
Name: Utsarg Narain Bhardwaj <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (2)  
File Role Description
Plain text file page.inc.php Class Base Class
Accessible without login Plain text file pagination.php Example pagination example

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:655
This week:0
All time:4,906
This week:488Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar