JNode [WIP]

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Base Class JNode Reference JNode Never Work in Progress

Abstract Tree Node Class.

This class is used by JTree to create a hierarchy of objects similar to the HTML or XML DOM. The Joomla! menu modules are built on this foundation.

Methods

Method Description
__construct Class constructor, overridden in descendant classes.
addChild Adds a new child node object to the current object.
getChildren Returns all child nodes of the current object.
getParent Returns the parent node of the current object.
hasChildren Tests whether the object has child nodes.
setParent Assigns a new parent node to the current object.