IMP_View_Subinfo
extends Horde_View
in package
This is a view of the IMP subinfo bar.
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-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- render() : string
- Returns the HTML code for the subinfo bar.
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $config = array() ]) : mixed
Parameters
- $config : array<string|int, mixed> = array()
-
Configuration key-value pairs. Additional options:
- mailbox: (string) Mailbox to use for quota query.
render()
Returns the HTML code for the subinfo bar.
public
render([string $name = 'subinfo' ][, mixed $locals = array() ]) : string
Parameters
- $name : string = 'subinfo'
-
The template to process.
- $locals : mixed = array()
Return values
string —The subinfo bar's HTML code.