A node in a tree
This is the code documentation for the Pelzini project
Search documentation |
class TreeNodeA node in a tree
AuthorsVariables
Functions
public addChildvoid $TreeNode->addChild ( TreeNode $child ); Adds a child node to this node public dumpvoid $TreeNode->dump ( ); Used for debugging only public findAncestorsunknown $TreeNode->findAncestors ( ); Returns an array of all the the ancestors of this node public findNodeunknown $TreeNode->findNode ( TreeNodeMatcher $matcher ); Finds a node in the database public getChildrenunknown $TreeNode->getChildren ( ); Returns a list of all the child nodes of this node public getDataunknown $TreeNode->getData ( ); Returns all of the data of this node public offsetExistsunknown $TreeNode->offsetExists ( mixed $index ); Returns true if a specific data field exists, and false otherwise public offsetGetunknown $TreeNode->offsetGet ( mixed $index ); Returns the value of a specific data field public offsetSetvoid $TreeNode->offsetSet ( mixed $index , mixed $value ); Sets the value of a specific data field public offsetUnsetvoid $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 |