\Horde_ActiveSync_Interface_ImapFactory

Horde_ActiveSync_Interface_ImapFactory:: Defines an interface for a factory object that knows how to provide an appropriate Horde_ActiveSync_Imap_Adapter object and mailbox lists.

Summary

Methods
Constants
getImapOb()
getMailboxes()
getSpecialMailboxes()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getImapOb()

getImapOb() : mixed

Return an imap client object.

Returns

mixed —

An object capable of communicating with an IMAP server.

getMailboxes()

getMailboxes(boolean  $force = false) : array

Return the list of IMAP mailboxes

Parameters

boolean $force

If true, force a refresh of the list.

Returns

array —

An array of mailbox names.

getSpecialMailboxes()

getSpecialMailboxes() : array

Return the list of "special" mailboxes such as Trash/Sent

Returns

array —

An array of mailbox names, keyed by the special type.