english/libraries/joomla/application/categories.php
/**
	 * Add child to this node
	 *
	 * If the child already has a parent, the link is unset
	 *
	 * @param   JNode	$child	The child to be added.
	 *
	 * @return  void
	 * @since   11.1
	 */
Add child to this node
If the child already has a parent, the link is unset

@param   JNode       $child  The child to be added.


Add child to this node If the child already has a parent the link is unset @param JNode $child The child to be added .
function addChild(&$child)
	{
		if ($child instanceof JCategoryNode) {
			$child->setParent($this);
		}
	}
function addChild ( & $ child ) { if ( $ child instanceof JCategoryNode ) { $ child -> setParent ( $ this ) ; } }
Add child to this node
 If the child already has a parent, the link is unset
Add child to this node If the child already has a parent the link is unset