Class Xml
Provides helper methods for creating XML documents from arrays and objects
Methods summary
public
string
|
#
xmlEntities( string $str )
Converts special characters with special meaning in XML to their entity equivalent. |
public
string
|
|
private
string
|
#
buildXmlSegment( mixed $value, string $root_node = "result", integer $tab_count = -1 )
Recursively convert the array into an XML structure segment |
Magic methods summary
Properties summary
public
string
|
$tab |
#
The string to repeat for every tab space |
public
string
|
$root_node |
#
The default node for an element |