| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Base |
JNode |
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.
| 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. |