PHP Classes

Table Element: Generate HTML tables from the contents of cells

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-01-10 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,071 All time: 3,318 This week: 1,128Up
Version License Categories  
table_element 1.0GNU General Publi...HTML
Description Author  

This class generates HTML tables just by defining the contents of the table cells.

All the attributes of the HTML tags (table, tr and td) can be set using the class functions, including the attributes for defining the table elements event handling Javascript code.

The contents of the cells can be defined specifying the cell row and column coordinates.

If there were any table cells left in blank, the class will automatically expand the span of the preceeding row cells to include the blank cells. The class may also be instructed to include blank cells in the span of the preceeding row.

The HTML code generated is compliant with XHTML and is also correctly indented.

Picture of Carlos Reche
Name: Carlos Reche <contact>
Classes: 10 packages by
Country: Brazil Brazil
Age: 32
All time rank: 553 in Brazil Brazil
Week rank: 106 Down2 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class.tableelement.php Class TableElement class file
Accessible without login Plain text file example.php Example A few examples of how to use TableElement class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,071All time:3,318
 This week:0This week:1,128Up