JSimpleXMLElement::addChild/1.5
From Joomla! Documentation
JSimpleXMLElement::addChild
Description
Adds a direct child to the element.
Description:JSimpleXMLElement::addChild [Edit Descripton]
public & function addChild ( $name $attrs=array $level=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | ||
| $attrs | array | array() | |
| $level | int | null |
- Returns The added child object
- Defined on line 515 of libraries/joomla/utilities/simplexml.php
See also
-
JSimpleXMLElement::addChild on api.joomla.org
-
JSimpleXMLElement source code on JoomlaCode
-
Class JSimpleXMLElement
-
Subpackage Utilities
- Other versions of JSimpleXMLElement::addChild
SeeAlso:JSimpleXMLElement::addChild [Edit See Also]
User contributed notes
<CodeExamplesForm />