Login   Register  
PHP Classes
elePHPant
Icontem

Render Table: Render HTML tables using list elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-09-08 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 240 This week: 3All time: 7,032 This week: 649Up
Version License PHP version Categories  
render-table 1.4GNU Lesser General Publ...5.3HTML, PHP 5, GUI
Description Author  

This class render HTML tables using list elements.

It takes an array of data and generates HTML UL and LI tags to display the data as list of rows and columns using a given CSS definition to make it render correctly as a table.

The class can receive columns that will be hidden but can be used for link building.

Rules can be defined to specify how to turn certain cells into external links that open on separate browser windows.

Innovation Award  
PHP Programming Innovation award nominee
August 2014
Number 8


Prize: One downloadable copy of CodeLobster Professional
HTML tables allow groups of page elements to be rendered in such way that they may be aligned both vertically and horizontally. However, HTML tables prevent that the elements layout be defined by separate CSS definitions.

This class provides an alternative solution to layout groups of page elements using HTML lists instead, i.e. it does not require using tables to align the page elements.

Manuel Lemos
Picture of martin barker
Name: martin barker <contact>
Classes: 12 packages by
Country: United Kingdom United Kingdom
Age: 25
All time rank: 32215 in United Kingdom United Kingdom
Week rank: 166 Up6 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Demo file showing how to use
Accessible without login Plain text file renderTable.css Data Basic CSS
Plain text file RenderTable.php Class TheMainClass
Plain text file Singleton.php Class Singleton instance class

 Version Control Unique User Downloads Download Rankings  
 0%Total:240All time:7,032
 This week:3This week:649Up
 User Comments (1)  
 
Very nice post, thank you very much.
2 months ago (goodbee)
57%StarStarStar