Helper object for WFYAHOO_widget_TreeView.
WFYAHOO_widget_TreeViewNode is a minimal PHP representation of the YAHOO.widget.node javascript object.
It contains the "id" and the "data" to be displayed in the tree, as well as helper functions for building and accessing the tree.
Located in /framework/widgets/yahoo/WFYAHOO_widget_TreeView.php (line 361)
WFObject | --WFYAHOO_widget_TreeViewNode
To create a node, the ID and DATA are required.
Get the children of this node as an array.
Get the child node for the specified ID.
Is it possible that this node has children?
Get the node data (the HTML).
Does this node have children?
Get the ID for the node.
By default, it is assumed that all nodes *could* have children, and that a dynamic callback must be made to see.
Thus, all nodes will be "+" expandable icons. If you know for sure that a given node doesn't have children, setCouldHaveChildren(true) to have the node be a leaf node by default.
Convert this node into XML format.
Helper function used by sendTree.
Inherited From WFObject
WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()
Documentation generated on Sun, 28 Sep 2008 18:26:09 -0400 by phpDocumentor 1.4.1