PHP Classes

SPagin: Generate navigation links for pagination

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 423 All time: 6,359 This week: 182Up
Version License Categories
spagin 1.0GNU General Publi...HTML


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
Age: 36
All time rank: 3459266 in Brazil Brazil
Week rank: 438 Up31 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file SPaginTest.php Example test file
Accessible without login Plain text file SPagin.php Class the class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,359
This week:182Up