Login   Register  
PHP Classes
elePHPant
Icontem

Perfect Paging: Generate links to browse listings split in pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-17 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,169 This week: 1All time: 2,996 This week: 1,398Up
Version License PHP version Categories  
perfect_paging 1.0GNU General Public Lice...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
Age: 25
All time rank: 81115 in Turkey Turkey
Week rank: 1078 Down21 in Turkey Turkey Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,169All time:2,996
 This week:1This week:1,398Up
 User Comments (1)