MINOR Code formatting fixes for Convert::recursiveXMLToArray()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77324 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-20 04:18:28 +00:00
parent e768d955df
commit 9dd77371a7

View File

@ -230,6 +230,10 @@ class Convert extends Object {
return self::recursiveXMLToArray($xml); return self::recursiveXMLToArray($xml);
} }
/**
* Function recursively run from {@link Convert::xml2array()}
* @uses SimpleXMLElement
*/
protected static function recursiveXMLToArray($xml) { protected static function recursiveXMLToArray($xml) {
if(get_class($xml) == 'SimpleXMLElement') { if(get_class($xml) == 'SimpleXMLElement') {
$attributes = $xml->attributes(); $attributes = $xml->attributes();