PHP Classes

Simple Pager: Calculate total pages and rows for paged listings

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
StarStarStar 42%Total: 1,622 All time: 2,432 This week: 560Up
Version License Categories
simplepager 1.0Free For Educatio...Math
Description 

Author

This is a very simple class that can be used to calculate the pages and rows to display in a paged listing.

It takes a parameter the total number of rows to list, the limit of rows to display per page, and the number of the current page.

It calculates the total number of pages in the whole listing, and the number of the row start starts the current page.

Picture of shadab khan
Name: shadab khan <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (1)  
File Role Description
Plain text file Pager Class pager

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:1,622
This week:0
All time:2,432
This week:560Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3694