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 (14 years ago) RSS 2.0 feedStarStar 31%Total: 1,234 All time: 3,043 This week: 324Up
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.

Name: Nilesh Dosooye <contact>
Classes: 4 packages by
Country: Mauritius Mauritius
Age: 42
All time rank: 6051 in Mauritius Mauritius
Week rank: 777 Down1 in Mauritius Mauritius Equal

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,234
This week:0
All time:3,043
This week:324Up
User Ratings User Comments (1)
 All time
Utility:43%StarStarStar
Consistency:43%StarStarStar
Documentation:43%StarStarStar
Examples:6%Star
Tests:-
Videos:-
Overall:31%StarStar
Rank:3225
 
this class is not working.
3 years ago (Strahinja Krstic)
0%Star