Login   Register  
PHP Classes
elePHPant
Icontem

Pager Class: Compute the range of entries in the current page

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-03-02 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 556 All time: 4,982 This week: 1,853Up
Version License PHP version Categories  
thepagerclass 1.0GNU General Public Lice...3.0Algorithms, PHP 5
Description Author  

This class can be used to compute the range of entries in the current page of a listing of entries split over multiple pages.

It takes as parameters the limit number of entries to display per page, the total number of listing entries and the number of the currently selected page.

The class returns an array with the number of the first and last entries to display in the current page.

Picture of Onur Yerlikaya
Name: Onur Yerlikaya <contact>
Classes: 1 package by
Country: Turkey Turkey
Age: ???
All time rank: 281947 in Turkey Turkey
Week rank: 1882 Up38 in Turkey Turkey Up

  Files folder image Files  
File Role Description
Plain text file Pager.class.php Class PagerClass

 Version Control Unique User Downloads Download Rankings  
 0%Total:556All time:4,982
 This week:0This week:1,853Up