PHP Classes

TPaginatedData: Output listings from query results split in pages

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 618 All time: 5,095 This week: 455Up
Version License Categories
tpaginateddata 1.0GNU Lesser Genera...HTML, Databases
Description 

Author

This class can be used to generate listings split in multiple pages of data from MySQL database query results.

It takes a query string and determines the number of result rows to calculates the total number of pages.

Then it can execute the query to to get the data for the current page to display.

The current listing page is generated using a custom output template defined as a PHP script.

Picture of Augustin BOTEANU
Name: Augustin BOTEANU <contact>
Classes: 1 package by
Country: Romania Romania
Age: 42
All time rank: 300957 in Romania Romania
Week rank: 200 Up2 in Romania Romania Up

Screenshots (1)  
  • screenshot_1
  Files folder image Files (4)  
File Role Description
Plain text file pagination_example.php Example A possible way to use the class
Plain text file products_listing_tpl.php Aux. Example template file for listing the results
Plain text file TPaginatedData.class.php Class Class file for pagination

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:618
This week:0
All time:5,095
This week:455Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4147