\Horde_Tree_Renderer_Menu

The Horde_Tree_Menu class renders the tree structure of the top application menu.

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-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.

Summary

Methods
Properties
Constants
getTree()
renderNodeDefinitions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getTree()

getTree(boolean  $static = false) : string

Returns the tree.

Parameters

boolean $static

Unused.

Returns

string —

The HTML code of the rendered tree.

renderNodeDefinitions()

renderNodeDefinitions() : object

Returns just the JS node definitions as a string.

Returns

object —

Object with the following properties: 'files', 'nodes', 'root_nodes'.