PHP Classes

arromat: Generate pagination parameters for data navigation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 1,503 All time: 2,603 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: 44
All time rank: 37222 in Germany Germany
Week rank: 214 Up11 in Germany Germany Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,503
This week:0
All time:2,603
This week:560Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:913