JSimpleXMLElement/1.5
From Joomla! Documentation
< JSimpleXMLElement(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 75: | Line 75: | ||
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | <source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JSimpleXMLElement''' on [http://api.joomla.org/Joomla-Framework/Utilities/JSimpleXMLElement.html api.joomla.org] | + | * {{JVer|1.5}} '''JSimpleXMLElement''' on [http://api.joomla.org/1.5/Joomla-Framework/Utilities/JSimpleXMLElement.html api.joomla.org] |
* {{JVer|1.5}} '''JSimpleXMLElement source code''' on [[jframework15:utilities/simplexml.php|JoomlaCode]] | * {{JVer|1.5}} '''JSimpleXMLElement source code''' on [[jframework15:utilities/simplexml.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Utilities/1.5|Utilities]] | * {{JVer|1.5}} Subpackage [[Subpackage Utilities/1.5|Utilities]] | ||
Latest revision as of 16:05, 13 February 2013
[edit]
JSimpleXMLElement
[edit] Description
Description:JSimpleXMLElement [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor, sets up all the default values. |
| public | addAttribute | Adds an attribute to the element. |
| public | addChild | Adds a direct child to the element. |
| public | attributes | Get the an attribute of the element. |
| public | children | Get the children of the element. |
| public | data | Get the data of the element. |
| public | getElementByPath | Get an element in the document by / separated path. |
| public | level | Get the level of the element. |
| public | map | traverses the tree calling the $callback( $this, mixed $args=array() ) function with each . |
| public | name | Get the name of the element. |
| public | removeAttribute | Removes an attribute from the element. |
| public | removeChild | |
| public | setData | Set the data of the element. |
| public | toString | Return a well-formed XML string based on SimpleXML element. |
- Defined in libraries/joomla/utilities/simplexml.php
- Extends JObject
[edit] Importing
jimport( 'joomla.utilities.simplexml' );
[edit] See also
-
JSimpleXMLElement on api.joomla.org
-
JSimpleXMLElement source code on JoomlaCode
-
Subpackage Utilities
- Other versions of JSimpleXMLElement
SeeAlso:JSimpleXMLElement [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />