PHP Classes

Listview: Generate sortable lists of arbitrary types of data

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,488 All time: 2,633 This week: 455Up
Version License Categories
lister 1.0.0Free for non-comm...HTML, PHP 5
Description 

Author

This package can be used to generate HTML tables to display lists of arbitrary types of data that can be sorted.

The data to be listed is passed to the main class in bidimensional arrays. The title of the columns of the data array is specified separately.

A separate render class outputs the list as an HTML table. The titles of the columns are displayed as links that can be used to let the user change the list sorting to ascending or descending.

Picture of Tom Reitsma
Name: Tom Reitsma <contact>
Classes: 7 packages by
Country: The Netherlands The Netherlands

  Files folder image Files (3)  
File Role Description
Plain text file listview.class.php Class Lister class file
Plain text file listview.render.php Class Generates the html
Accessible without login Plain text file listview.test.php Example Usage 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,488
This week:0
All time:2,633
This week:455Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:951
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar