PHP Class Horde_ActiveSync_Stub_ImapFactory, horde

Author: Michael J Rubinsky ([email protected])
Inheritance: implements Horde_ActiveSync_Interface_ImapFactory
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$fixture [type] Holds a mock Horde_Imap_Client_Socket object.

Public Methods

Method Description
getImapOb ( ) : Horde_Imap_Client_Base Return a Horde_Imap_Client
getMailboxes ( boolean $force = false ) : array Return an array of email folders.
getMsgFlags ( ) : array Return a list of user-defined flags.
getSpecialMailboxes ( ) : array Return a list of the special mailboxes available on this server.

Method Details

getImapOb() public method

Return a Horde_Imap_Client
public getImapOb ( ) : Horde_Imap_Client_Base
return Horde_Imap_Client_Base

getMailboxes() public method

Return an array of email folders.
public getMailboxes ( boolean $force = false ) : array
$force boolean If true, will force a refresh of the folder list.
return array An array of folder information. Each entry is keyed by the mailbox UTF-8 name and contains: - level: How many parents a folder has, 0 is the root. - label: The display label for the mailbox. - d: The delimiter.

getMsgFlags() public method

Return a list of user-defined flags.
public getMsgFlags ( ) : array
return array An array of flag arrays keyed by the RFC 3501 flag name.

getSpecialMailboxes() public method

Return a list of the special mailboxes available on this server.
public getSpecialMailboxes ( ) : array
return array An array of special mailboxes.

Property Details

$fixture public_oe property

Holds a mock Horde_Imap_Client_Socket object.
public [type] $fixture
return [type]