PHP Classes

Object To XML: Generate XML from values of object variables

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 1,195 This week: 1All time: 3,171 This week: 560Up
Version License PHP version Categories
objecttoxml 1.0GNU General Publi...5XML, PHP 5, Data types
Description 

Author

This class can be used to generate XML documents from values of object variables.

It traverses the public variables of a given object and generates a XML document with the variable names as tags and the variable values as tag values.

Object and array values are converted into nested tag values.

The root tag of the generated document is the class name.

The resulting XML document can be returned as a string.

Picture of Jason Houle
Name: Jason Houle <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2127301 in United States United States
Week rank: 411 Up48 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file ObjectToXML.php Class Convert PHP objects to XML

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,195
This week:1
All time:3,171
This week:560Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3806