Login   Register  
PHP Classes
elePHPant
Icontem

arromat: Generate pagination parameters for data navigation

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-17 (4 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 1,456 All time: 2,504 This week: 1,500Up
Version License Categories  
arromat 1.0GNU General Public Lice...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: 34
All time rank: 35324 in Germany Germany
Week rank: 1754 Down88 in Germany Germany Down

  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,456All time:2,504
 This week:0This week:1,500Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:399