PHP Classes

KG Pager Class: Generate links to browse lists split between pages

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 1,306 This week: 1All time: 2,944 This week: 206Up
Version License PHP version Categories
kgpager 2.0.1GNU General Publi...4.2.3HTML, PHP 5
Description Author

This class can be used to generate links to browse listings split between pages.

It takes as parameters the total number of entries in the whole listing, the limit number of entries displayed on each listing page, and the number of the current page.

The class generates links to browse to the next listing page, previous page, first page, last page, and any intermediate pages.

The base URL of the links is configurable.

Picture of Muharrem ERIN
Name: Muharrem ERIN <contact>
Classes: 5 packages by
Country: Turkey Turkey
Age: 38
All time rank: 86917 in Turkey Turkey
Week rank: 194 Up5 in Turkey Turkey Up

  • kgPager_class_sample.gif
  Files folder image Files  
File Role Description
Plain text file GNU.txt Lic. GNU Licence
Plain text file kgPager.class.php Class Class File
Plain text file test.php Example Test File

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:2,944
This week:206Up
User Ratings User Comments (3)
 All time
Rank:Not enough user ratings
That is nice!
11 years ago (Pawe&#322; Napier)
Simple and powerful class, appreciate that.
11 years ago (Murat Gözel)
Thanx, Your paging class really help me.
14 years ago (Md. Tito)
For more information send a message to info at phpclasses dot org.