PHP Class Horde_Tree_Renderer_Menu, horde

Additional node parameters: - noarrow: (boolean) Whether to hide the arrow next to the top level menu entry. - onclick: (string) Value for onclick attribute. - target: (string) Target for the 'url' link. - url: (string|Horde_Url) URL for the node link. Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL-2). If you did not receive this file, see http://www.horde.org/licenses/lgpl.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Tree_Renderer_Base
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
getTree ( boolean $static = false ) : string Returns the tree.
renderNodeDefinitions ( ) : object Returns just the JS node definitions as a string.

Method Details

getTree() public method

Returns the tree.
public getTree ( boolean $static = false ) : string
$static boolean Unused.
return string The HTML code of the rendered tree.

renderNodeDefinitions() public method

Returns just the JS node definitions as a string.
public renderNodeDefinitions ( ) : object
return object Object with the following properties: 'files', 'nodes', 'root_nodes'.