PHP Class Horde_Core_Topbar, horde

Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Datei anzeigen Open project: horde/horde

Protected Properties

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

Public Methods

Method Description
__construct ( $treeRenderer, $rendererParams ) Constructor.
getHash ( ) : string Get the hash ID for the tree object.
getTree ( ) : Horde_Tree_Renderer_Base Generates the topbar tree object.

Protected Methods

Method Description
_sortByName ( string $a, $b ) : integer Helper method for uasort to sort applications by name.

Method Details

__construct() public method

Constructor.
public __construct ( $treeRenderer, $rendererParams )

_sortByName() protected method

Helper method for uasort to sort applications by name.
protected _sortByName ( string $a, $b ) : integer
$a string
return integer

getHash() public method

Get the hash ID for the tree object.
public getHash ( ) : string
return string Hash ID.

getTree() public method

Generates the topbar tree object.
public getTree ( ) : Horde_Tree_Renderer_Base
return Horde_Tree_Renderer_Base The topbar tree object.

Property Details

$_generated protected_oe property

Has the tree been generated?
protected Horde_Tree_Base $_generated
return Horde_Tree_Base

$_tree protected_oe property

A tree object for the main menu.
protected Horde_Tree_Renderer_Base $_tree
return Horde_Tree_Renderer_Base