Documentation

Horde_Tree_Renderer_Menu extends Horde_Tree_Renderer_Base
in package

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

Tags
author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl LGPL-2

Table of Contents

getTree()  : string
Returns the tree.
renderNodeDefinitions()  : object
Returns just the JS node definitions as a string.

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.

renderNodeDefinitions()

Returns just the JS node definitions as a string.

public renderNodeDefinitions() : object
Return values
object

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

Search results