PHP Class Horde_View_Topbar, horde

Useful properties: - subinfo: (string) Right-aligned content of the sub-bar. - search: (boolean) Whether to show the search bar. - searchAction: (string) The form action attribute of the search form. - searchMenu: (boolean) whether to show a drop down icon inside the search field. - searchLabel: (string) Ghost label of the search field. - searchParameters: (array) Key-value-hash with additional hidden form fields. 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_View
ファイルを表示 Open project: horde/horde

Public Methods

Method Description
__construct ( array $config = [] ) Constructor.
__toString ( ) : string Handler for string casting.
render ( string $name = 'topbar', $locals = [] ) : string Returns the HTML code for the topbar.

Method Details

__construct() public method

Constructor.
public __construct ( array $config = [] )
$config array Configuration key-value pairs.

__toString() public method

Handler for string casting.
public __toString ( ) : string
return string The sidebar's HTML code.

render() public method

Returns the HTML code for the topbar.
public render ( string $name = 'topbar', $locals = [] ) : string
$name string The template to process.
return string The topbar's HTML code.