PHP Classes

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

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: 572 All time: 5,369 This week: 206Up
Version License PHP version Categories
thepagerclass 1.0GNU General Publi...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

 

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
 Unique User Downloads Download Rankings  
 
Total:572
This week:0
All time:5,369
This week:206Up