Actions

API17

Difference between revisions of "JSimpleXMLElement::addChild"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JSimpleXMLElement->addChild ($name, $attrs=array(), $level=null)
+
public JSimpleXMLElement::addChild ($name, $attrs=array(), $level=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 38:
 
The added child object
 
The added child object
 
===Defined in===
 
===Defined in===
libraries/joomla/utilities/simplexml.php
+
libraries/joomla/utilities/simplexml.php (line 511)
 +
* see source code in [[jplatform:utilities/simplexml.php#cl-511|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:16, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSimpleXMLElement::addChild

Description

Adds a direct child to the element.

Description:JSimpleXMLElement::addChild [Edit Descripton]

Synopsis

public JSimpleXMLElement::addChild ($name, $attrs=array(), $level=null)
Parameter Type Default Description
$name string
$attrs array array()
$level int null

Returns

The added child object

Defined in

libraries/joomla/utilities/simplexml.php (line 511)

Referenced by

See also

[Edit See Also]

SeeAlso:JSimpleXMLElement::addChild

Examples

<CodeExamplesForm />