Horde_Tree_Renderer_Sidebar
extends Horde_Tree_Renderer_Base
in package
The Horde_Tree_Renderer_Sidebar class renders tree structures in the sidebar menus.
Additional node parameters:
- icon: (string) Icon to display next node.
- onclick: (string) Value for onclick attribute.
- selected: (boolean) Whether the node is selected.
- target: (string) Target for the 'url' link.
- url: (string|Horde_Url) URL for the node link.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL-2). If you did not receive this file, see http://www.horde.org/licenses/lgpl.
Tags
Table of Contents
- getTree() : string
- Returns the tree.
Methods
getTree()
Returns the tree.
public
getTree([bool $static = false ]) : string
Parameters
- $static : bool = false
-
Unused.
Return values
string —The HTML code of the rendered tree.