PHP Classes

SPagin: Generate navigation links for pagination

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
StarStarStar 46%Total: 424 All time: 6,367 This week: 488Up
Version License Categories
spagin 1.0GNU General Publi...HTML
Description 

Author

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

It takes as parameters the limit number entries to display per page, total number of entries in the whole listing and the number of the current page.

The class generates links using a base URL to go to the first page, last page, and other intermediate pages.

The code and the comments are in Portuguese.

Picture of charles schaefer
Name: charles schaefer <contact>
Classes: 1 package by
Country: Brazil Brazil

  Files folder image Files (2)  
File Role Description
Plain text file SPaginTest.php Example test file
Accessible without login Plain text file SPagin.php Class the class 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:424
This week:0
All time:6,367
This week:488Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3206