PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (12 years ago) RSS 2.0 feedStar 18%Total: 1,228 All time: 3,005 This week: 1,077Up
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

Details
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,228
This week:0
All time:3,005
This week:1,077Up
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:3016
 
this class is not working.
1 year ago (Strahinja Krstic)
0%Star