Documentation

Horde_Core_Topbar
in package

Generates the Horde topbar.

Tags
author

Michael Slusarz slusarz@horde.org

author

Jan Schneider jan@horde.org

category

Horde

copyright

2010-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Properties

$_generated  : Horde_Tree_Base
Has the tree been generated?
$_tree  : Horde_Tree_Renderer_Base
A tree object for the main menu.

Methods

__construct()  : mixed
Constructor.
getHash()  : string
Get the hash ID for the tree object.
getTree()  : Horde_Tree_Renderer_Base
Generates the topbar tree object.
_sortByName()  : int
Helper method for uasort to sort applications by name.

Properties

$_generated

Has the tree been generated?

protected Horde_Tree_Base $_generated = \false

$_tree

A tree object for the main menu.

protected Horde_Tree_Renderer_Base $_tree

Methods

__construct()

Constructor.

public __construct(mixed $treeRenderer, mixed $rendererParams) : mixed
Parameters
$treeRenderer : mixed
$rendererParams : mixed

getHash()

Get the hash ID for the tree object.

public getHash() : string
Return values
string

Hash ID.

getTree()

Generates the topbar tree object.

public getTree() : Horde_Tree_Renderer_Base
Return values
Horde_Tree_Renderer_Base

The topbar tree object.

_sortByName()

Helper method for uasort to sort applications by name.

protected _sortByName(string $a, mixed $b) : int
Parameters
$a : string
$b : mixed
Return values
int

        
On this page

Search results