PHP Classes

Page Control Class: Generate links to browse listings split in pages

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
Not enough user ratingsTotal: 640 All time: 4,993 This week: 206Up
Version License PHP version Categories
page-control 0.1Free To Use But R...5HTML, 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 Ming Choi
Name: Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Age: 32
All time rank: 5023 in Hong Kong Hong Kong
Week rank: 192 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 3x

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

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:640
This week:0
All time:4,993
This week:206Up