PHP Classes

Perfect Paging: Generate links to browse listings split in 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
StarStarStar 44%Total: 1,176 All time: 3,220 This week: 488Up
Version License PHP version Categories
perfect_paging 1.0GNU General Publi...3HTML
Description 

Author

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

It takes as parameters the link base URL, the total number of entries in the listing, the limit of entries to display per page and the name of a request variable that is used to pass the page number.

The class can generate HTML to display links to go to the first, previous, next and last listing pages.

It can also generate links that trigger Javascript execution when clicked.

Picture of Seregwethrin
Name: Seregwethrin <contact>
Classes: 2 packages by
Country: Turkey Turkey

Screenshots (1)  
  • Examples
  Files folder image Files (2)  
File Role Description
Plain text file example.php Example Example of usage

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,176
This week:0
All time:3,220
This week:488Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3433