PHP Classes

arromat: Generate pagination parameters for data navigation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-17 (5 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 1,469 All time: 2,539 This week: 1,125Up
Version License Categories  
arromat 1.0GNU General Publi...Utilities and Tools
Description Author  

This class is meant for generation of parameters for navigation between pages that display ranges of data records (e.g. database results).

You just need to pass to the class an array with the rows of data that you want to display, the number of the current page, eventually taken from the page request parameters, and the limit number of rows that you want to display per page.

Then you can use the class to retrieve the data of each row of data that you will display in the current page, as well parameters to generate links to navigate between the diferent pages of the listing of the data.

Picture of Sebastian D
Name: Sebastian D <contact>
Classes: 2 packages by
Country: Germany Germany
Age: 35
All time rank: 35824 in Germany Germany
Week rank: 280 Up7 in Germany Germany Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file arromat.class.php Class class source to simplify the paging process
Plain text file arromat_demo.php Example simple demo script which explains how it works
Plain text file example2.php Example extened sorting example

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,469All time:2,539
 This week:0This week:1,125Up
 User Ratings  
 All time