PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,309 All time: 2,950 This week: 455Up
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: 40
All time rank: 87317 in Turkey Turkey
Week rank: 192 Up3 in Turkey Turkey Up

Screenshots (1)  
  • kgPager_class_sample.gif
  Files folder image Files (4)  
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

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:1,309
This week:0
All time:2,950
This week:455Up
User Ratings User Comments (3)
 All time
Utility:89%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:89%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:992
 
That is nice!
13 years ago (Pawe&#322; Napier)
70%StarStarStarStar
Simple and powerful class, appreciate that.
13 years ago (Murat Gözel)
67%StarStarStarStar
Thanx, Your paging class really help me.
16 years ago (Md. Tito)
67%StarStarStarStar