The root node in a tree
This is the code documentation for the Pelzini project
Search documentation |
class RootTreeNodeThe root node in a tree
AuthorsVariables
Functions
public addChild (from TreeNode)void $TreeNode->addChild ( TreeNode $child ); Adds a child node to this node public createFromDatabaseunknown RootTreeNode::createFromDatabase ( resource $res , string $id_col , string $parent_col ); Creates a tree based on a set of nodes in the database public dump (from TreeNode)void $TreeNode->dump ( ); Used for debugging only public findAncestors (from TreeNode)unknown $TreeNode->findAncestors ( ); Returns an array of all the the ancestors of this node public findNode (from TreeNode)unknown $TreeNode->findNode ( TreeNodeMatcher $matcher ); Finds a node in the database public getChildren (from TreeNode)unknown $TreeNode->getChildren ( ); Returns a list of all the child nodes of this node public getData (from TreeNode)unknown $TreeNode->getData ( ); Returns all of the data of this node public offsetExists (from TreeNode)unknown $TreeNode->offsetExists ( mixed $index ); Returns true if a specific data field exists, and false otherwise public offsetGet (from TreeNode)unknown $TreeNode->offsetGet ( mixed $index ); Returns the value of a specific data field public offsetSet (from TreeNode)void $TreeNode->offsetSet ( mixed $index , mixed $value ); Sets the value of a specific data field public offsetUnset (from TreeNode)void $TreeNode->offsetUnset ( mixed $index ); Removes a specific data field |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Thursday, 15th March, 2018 at 02:05 pm |