PHP Classes
elePHPant
Icontem

arromat: Generate pagination parameters for data navigation

Recommend this page to a friend!
  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 (6 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 1,478 All time: 2,560 This week: 1,123Up
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

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