TOGGLE
TOGGLE
The preceding text, before the Horde_Tree instance name, used for collapse/expand submissions.
The Horde_Tree class provides a tree view of hierarchical information. It allows for expanding/collapsing of branches.
Copyright 2003-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
__construct(string $name, array $session = array())
Constructor.
string | $name | The name of this tree instance. |
array | $session | Callbacks used to store session data. Must define two keys: 'get' and 'set'. Function definitions: (string) = get([string - Instance], [string - ID]); set([string - Instance], [string - ID], [boolean - value]); DEFAULT: No session storage |
addNode(array $node)
Adds a node to the node tree array.
array | $node | A hash with node properties:
|