\Horde_ActiveSync_Imap_Strategy_Base

Base class for different strategies to fetch changes from an IMAP server.

Summary

Methods
Properties
Constants
__construct()
getChanges()
No public properties found
No constants found
_getMsgFlags()
$_status
$_folder
$_logger
$_procid
$_mbox
$_imap_ob
$_imap
N/A
No private methods found
No private properties found
N/A

Properties

$_status

$_status : array

The IMAP status array.

Type

array

$_logger

$_logger : \Horde_Log_Logger

Type

\Horde_Log_Logger

$_procid

$_procid : integer

The process id for logging purposes.

Type

integer

$_mbox

$_mbox : \Horde_Imap_Client_Mailbox

The current mailbox.

Type

\Horde_Imap_Client_Mailbox

$_imap_ob

$_imap_ob : \Horde_Imap_Client_Base

The imap client object.

Type

\Horde_Imap_Client_Base

Methods

__construct()

__construct(\Horde_ActiveSync_Interface_ImapFactory  $imap, array  $status, \Horde_ActiveSync_Folder_Base  $folder, \Horde_Log_Logger  $logger) 

Const'r

Parameters

\Horde_ActiveSync_Interface_ImapFactory $imap

The IMAP factory.

array $status

The IMAP status array.

\Horde_ActiveSync_Folder_Base $folder

The folder object.

\Horde_Log_Logger $logger

The logger.

getChanges()

getChanges(array  $options) : \Horde_ActiveSync_Folder_Base

Return a folder object containing all IMAP server change information.

Parameters

array $options

An array of options. @see Horde_ActiveSync_Imap_Adapter::getMessageChanges

Returns

\Horde_ActiveSync_Folder_Base

The populated folder object.

_getMsgFlags()

_getMsgFlags() : array

Return an array of custom IMAP flags.

Returns

array