PHP Classes

Simple Pager: Calculate total pages and rows for paged listings

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 42%Total: 1,621 All time: 2,431 This week: 404Up
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
Age: ???
All time rank: 1760105 in India India
Week rank: 312 Up22 in India India Up

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,621
This week:0
All time:2,431
This week:404Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3591