PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 1,503 This week: 1All time: 2,602 This week: 560Up
Version License Categories
arromat 1.0GNU General Publi...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: 43
All time rank: 37222 in Germany Germany
Week rank: 416 Down16 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,503
This week:1
All time:2,602
This week:560Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:909