Login   Register  
PHP Classes
elePHPant
Icontem

Data Page: Calculate entries of listings with pagination

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-06-25 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 370 All time: 6,057 This week: 1,467Up
Version License PHP version Categories  
data-page 1.0Artistic License5.0Algorithms, PHP 5
Description Author  

This class can calculate entries of listings with pagination.

It takes as parameters the total number of entries per page, the limit of entries in each page, the current page number and total number of page entries.

The class can return the number of entries on the current page, the number of the first_page, last_page, the first entry of the current page, the previous page number, the next_page number, and the numbers of all pages.

Picture of Lucas Tiago de Moraes
Name: Lucas Tiago de Moraes <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 27
All time rank: 3054234 in Brazil Brazil
Week rank: 1862 Up147 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file DataPage.php Class Class DataPage
Accessible without login HTML file DataPage.html Doc. Documentation Class DataPage
Accessible without login Plain text file example1.php Example Example 1
Accessible without login Plain text file example2.php Example Example 2

 Version Control Unique User Downloads Download Rankings  
 0%Total:370All time:6,057
 This week:0This week:1,467Up
 User Comments (1)