pTreeNode - Generic Node for Tree Implementation
This class provides a Tree Node definition for generic tree data structure implementation
Located in /class.pTree.php (line 282)
Class | Description |
---|---|
pTree | pTreeNode - Generic Node for Tree Implementation |
Constructor - Should not be called directly. Please use addChild instead.
Destructor - Should not be called directly. This does the same as removeAllChilds method.
Add - Add a Tree Node with Value
Add Comment - Set up a Tree Node Comment
From String - Generates Tree Structure using Formatted String Entry (reverse of toString method)
Get All Childs - Retrieve All Child Nodes of the given Tree Node
Get Child - Retrieve a Child Node of the given Tree Node
Get Depth - Grab Tree Node Depth
Get Name - Retrieve Tree Node Name
Get Parent - Retrieve the parent Tree Node of item, or item if none
Get Value - Get the Value of given Tree Node
Parse Value - Encode/Decode Value parameter
Remove All Childs - Remove All Child Nodes
Remove Child - Remove Child Node
Set Value - Set up a Value in Tree Node
To String - Creates a Human readable output of Tree Node (reverse of fromString method)
Documentation generated on Sun, 20 Feb 2005 23:03:05 -0300 by phpDocumentor 1.3.0RC3