API17

JSimpleXMLElement::addChild

From Joomla! Documentation

Revision as of 21:16, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JSimpleXMLElement::addChild[edit]

Description[edit]

Adds a direct child to the element.

Template:Description:JSimpleXMLElement::addChild [Edit Descripton]

Synopsis[edit]

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

Returns[edit]

The added child object

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JSimpleXMLElement::addChild

Examples[edit]

<CodeExamplesForm />