Source for file node.php
Documentation is available at node.php
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* @deprecated 12.3 (Platform) & 4.0 (CMS)
JLog::add('JNode::__construct() is deprecated.', JLog::WARNING, 'deprecated');
* If the child already has a parent, the link is unset
* @param JNode &$child The child to be added
JLog::add('JNode::addChild() is deprecated.', JLog::WARNING, 'deprecated');
if ($child instanceof
Jnode)
$child->setParent($this);
* Set the parent of a this node
* If the node already has a parent, the link is unset
* @param mixed &$parent The JNode for parent to be set or null
JLog::add('JNode::setParent() is deprecated.', JLog::WARNING, 'deprecated');
unset
($this->_parent->children[$hash]);
$parent->_children[$hash] =
& $this;
* Get the children of this node
* @return array The children
JLog::add('JNode::getChildren() is deprecated.', JLog::WARNING, 'deprecated');
* Get the parent of this node
* @return mixed JNode object with the parent or null for no parent
JLog::add('JNode::getParent() is deprecated.', JLog::WARNING, 'deprecated');
* Test if this node has children
* @return boolean True if there are children
JLog::add('JNode::hasChildren() is deprecated.', JLog::WARNING, 'deprecated');
* Test if this node has a parent
* @return boolean True if there is a parent
JLog::add('JNode::hasParent() is deprecated.', JLog::WARNING, 'deprecated');
Documentation generated on Tue, 19 Nov 2013 15:09:33 +0100 by phpDocumentor 1.4.3