Documentation

IMP_Prefs_Special_Drafts extends IMP_Prefs_Special_SpecialMboxes
in package
implements Horde_Core_Prefs_Ui_Special

Special prefs handling for the 'draftsselect' preference.

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

Interfaces

Horde_Core_Prefs_Ui_Special

Constants

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

Properties

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

Methods

display()  : mixed
init()  : mixed
update()  : mixed
_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

display()

public display(Horde_Core_Prefs_Ui $ui) : mixed
Parameters
$ui : Horde_Core_Prefs_Ui

init()

public init(Horde_Core_Prefs_Ui $ui) : mixed
Parameters
$ui : Horde_Core_Prefs_Ui

update()

public update(Horde_Core_Prefs_Ui $ui) : mixed
Parameters
$ui : Horde_Core_Prefs_Ui

_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