Login   Register  
PHP Classes
elePHPant
Icontem

Page Control Class: 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   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-09-23 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 625 All time: 4,625 This week: 1,451Up
Version License PHP version Categories  
page-control 0.1Free To Use But Restricted5HTML, PHP 5
Description Author  

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

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

The class returns an array with HTML links to the next and previous pages.

Picture of Kai Ming Choi
Name: Kai Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Age: 22
All time rank: 5273 in Hong Kong Hong Kong
Week rank: 357 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file pagecontrol.class.php Class main class
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:625All time:4,625
 This week:0This week:1,451Up