Solar_Struct_Xml::_toString()
protected
string
Solar_Struct_Xml::_toString
( array $array
, int $depth = NULL
, string $group = NULL
)
Support method to recursively convert an array to an XML string; escapes the array keys and values as it goes.
Parameters
(array)
$array
: The source data.(int)
$depth
: Indent the string output by this many levels.(string)
$group
: Use this as the surrounding group tag name for output.
Returns
(string) The source data array converted to an XML string.
Description
Support method to recursively convert an array to an XML string; escapes the array keys and values as it goes.