PHP Classes
elePHPant
Icontem

Convert Class To HTML Table: Displays a class structure and data in HTML

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-01-14 (11 years ago) RSS 2.0 feedStar 18%Total: 1,226 All time: 2,937 This week: 1,244Up
Version License Categories  
classtohtmlconverter 1.0GNU General Publi...Debug
Description Author  

This class is meant to display the structure of any class as an HTML table.

The class being displayed can have variables that contain objects of other classes or arrays and treats those variables each accordingly.

Picture of Nilesh Dosooye
Name: Nilesh Dosooye <contact>
Classes: 4 packages by
Country: Mauritius Mauritius
Age: 38
All time rank: 5871 in Mauritius Mauritius
Week rank: 894 Down1 in Mauritius Mauritius Equal

Details provided by the author  
This class converts a class object or collections of classes into easily viewable html tables. It helps in easy debugging and display of data saved in your classes or collection or classes.

This class is assuming for every variable in your class, you have a get method to retreive the data. If you dont have a get method, the code can be easily changed to take care of it.

example use
<?
		$thisClassToHTML = new convertClassToHTMLTable();
		$thisClassToHTML->setClassObject($someClass);
		$thisClassToHTML->generateHTML();
?>
  Files folder image Files  
File Role Description
Plain text file convertClassToHTMLTable.class.php Class Source code for class
Accessible without login Plain text file exampleScript.php Example example script
Accessible without login Plain text file README Doc. how to use this class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,226All time:2,937
 This week:0This week:1,244Up
User Ratings User Comments (1)  
 All time
Utility:25%StarStar
Consistency:25%StarStar
Documentation:25%StarStar
Examples:8%Star
Tests:-
Videos:-
Overall:18%Star
Rank:2548
 
this class is not working.
6 months ago (Strahinja Krstic)
0%Star