Documentation

IMP_Prefs_Special_SpecialMboxes
in package

Shared code for handling special mailboxes preferences.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2012-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Constants

PREF_DEFAULT  = "default\x00"
PREF_NO_MBOX  = "nombox\x00"
PREF_SPECIALUSE  = "specialuse\x00"

Properties

$_cache  : array<string|int, mixed>
Cached mailbox list.

Methods

_getSpecialUse()  : string
Get the list of special use mailboxes of a certain type.
_updateSpecialMboxes()  : bool
Update special mailbox preferences.

Constants

PREF_SPECIALUSE

public mixed PREF_SPECIALUSE = "specialuse\x00"

Properties

$_cache

Cached mailbox list.

protected array<string|int, mixed> $_cache = \null

Methods

_getSpecialUse()

Get the list of special use mailboxes of a certain type.

protected _getSpecialUse(string $use) : string
Parameters
$use : string

The special-use flag.

Return values
string

HTML code.

_updateSpecialMboxes()

Update special mailbox preferences.

protected _updateSpecialMboxes(string $pref, IMP_Mailbox $form, string $new, string $type, Horde_Core_Prefs_Ui $ui) : bool
Parameters
$pref : string

The pref name to update.

$form : IMP_Mailbox

The form data.

$new : string

The new mailbox name.

$type : string

Special use attribute (RFC 6154).

$ui : Horde_Core_Prefs_Ui

The UI object.

Return values
bool

True if preferences were updated.


        
On this page

Search results