Login   Register  
PHP Classes
elePHPant
Icontem

Object To XML: Generate XML from values of object variables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Jason Houle
Name: Jason Houle <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2052262 in United States United States
Week rank: 773 Up81 in United States United States Up


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Jason Houle  >  Object To XML  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Object To XML
Base name: objecttoxml
Description: Generate XML from values of object variables
Version: -
PHP version: 5
License: GNU General Public License (GPL)
All time users: 1063 users
All time rank: 3217
Week users: 2 users
Week rank: 900 Up
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Tutorial / Description
A quick tutorial to show how this class works.

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

Download Download all files: objecttoxml.tar.gz objecttoxml.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.