JSimpleXMLElement/1.5

From Joomla! Documentation
< JSimpleXMLElement
Revision as of 16:22, 17 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Edit Descripton] Description:JSimpleXMLElement

Defined in

libraries/joomla/utilities/simplexml.php

Subpackage

Utilities

Extends

JObject

Extended by

Methods

Method name Description
__construct Constructor, sets up all the default values.
addAttribute Adds an attribute to the element.
addChild Adds a direct child to the element.
attributes Get the an attribute of the element.
children Get the children of the element.
data Get the data of the element.
getElementByPath Get an element in the document by / separated path.
level Get the level of the element.
map traverses the tree calling the $callback( $this, mixed $args=array() ) function with each .
name Get the name of the element.
removeAttribute Removes an attribute from the element.
removeChild
setData Set the data of the element.
toString Return a well-formed XML string based on SimpleXML element.

Importing

jimport( 'joomla.utilities.simplexml' );

See also

[Edit See Also] SeeAlso:JSimpleXMLElement

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox