JNode
Extends \JObjectTree Node Class.
deprecated
since |
1.5 |
---|---|
deprecated |
3.0 |
package |
Joomla.Legacy |
Methods
__construct
Constructor
__construct()
deprecated
since |
1.5 |
---|---|
deprecated |
3.0 |
addChild
Add child to this node
addChild( &$child) : void
deprecated
If the child already has a parent, the link is unset
since |
1.5 |
---|---|
deprecated |
3.0 |
Arguments
- $child
getChildren
Get the children of this node
getChildren() : array<mixed,\JNode>
deprecated
getParent
Get the parent of this node
getParent() : \JNode|null
deprecated
hasChildren
Test if this node has children
hasChildren() : boolean
deprecated
since |
1.5 |
---|---|
deprecated |
3.0 |
Response
boolean
True if there are children
hasParent
Test if this node has a parent
hasParent() : boolean
deprecated
since |
1.6 |
---|---|
deprecated |
3.0 |
Response
boolean
True if there is a parent
setParent
Set the parent of a this node
setParent( &$parent) : void
deprecated
If the node already has a parent, the link is unset
since |
1.5 |
---|---|
deprecated |
3.0 |
Arguments
- $parent