HTML_TreeMenu_DHTML HTML_TreeMenu_DHTML(
&$structure, [array
$options = array()], [bool
$isDynamic = true], object
$structure)
|
|
Constructor, takes the tree structure as
an argument and an array of options which can consist of:
- images - The path to the images folder. Defaults to "images"
- linkTarget - The target for the link. Defaults to "_self"
- defaultClass - The default CSS class to apply to a node. Default is none.
- usePersistence - Whether to use clientside persistence. This persistence
is achieved using cookies. Default is true.
- noTopLevelImages - Whether to skip displaying the first level of images if
there is multiple top level branches.
And also a boolean for whether the entire tree is dynamic or not. This overrides any perNode dynamic settings.
Parameters: