API15:JNode/addChild
From Joomla! Documentation
Template:Description:JNode/addChild
Syntax
addChild(&$node)
| Parameter Name | Default Value | Description |
|---|---|---|
Defined in
libraries/joomla/base/tree.php
Importing
jimport( 'joomla.base.tree' );
Source Body
function addChild( &$node )
{
$node->setParent($this);
$this->_children[] = & $node;
}
[Edit See Also] Template:SeeAlso:JNode/addChild
Examples
<CodeExamplesForm />