SimpleXML Element
This object stores all of the direct children of itself in the $children array. They are also stored by type as arrays. So, if, for example, this tag had 2 <font> tags as children, there would be a class member called $font created as an array. $font[0] would be the first font tag, and $font[1] would be the second.
To loop through all of the direct children of this object, the $children member should be used.
To loop through all of the direct children of a specific tag for this object, it is probably easier to use the arrays of the specific tag names, as explained above.
Located in /libraries/joomla/utilities/simplexml.php (line 454)
JObject | --JSimpleXMLElement
Array with the attributes of this XML element
Array of references to the objects of all direct children of this XML object
The data the element contains
The level of this XML element
The name of the element
Inherited from JObject
JObject::$_errors
Constructor, sets up all the default values
Adds an attribute to the element
Adds a direct child to the element
Get the an attribute of the element
Get the children of the element
Get the data of the element
Get an element in the document by / separated path
Get the level of the element
Traverses the tree calling the $callback(JSimpleXMLElement $this, mixed $args=array()) function with each JSimpleXMLElement.
Get the name of the element
Removes an attribute from the element
Remove the child node.
Set the data of the element
Return a well-formed XML string based on SimpleXML element
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()
Documentation generated on Mon, 25 Jun 2012 13:59:37 -0500 by phpDocumentor 1.4.4