PHP Class IMP_View_Subinfo, horde

Useful properties: - label: (string) Prefix label for the content, e.g. "Mailbox:". - quotaClass: (string) CSS class to be used for the quota section. This is done automatically. - quotaText: (string) Text to be added to the quota section. This is done automatically. - readonly: (boolean) Whether to add a read-only icon. - value: (string) The content, e.g. mailbox name. Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_View
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

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

Method Details

__construct() public method

Constructor.
public __construct ( array $config = [] )
$config array Configuration key-value pairs. Additional options: - mailbox: (string) Mailbox to use for quota query.

render() public method

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