\Horde_ActiveSync_Imap_EasMessageBuilder_Html

Handle building the AirSyncBaseBody property when sending HTML only.

I.e., BodyTypePreference == Horde_ActiveSync::BODYPREF_TYPE_HMTL.

Summary

Methods
Properties
Constants
__construct()
getMessageObject()
create()
No public properties found
No constants found
_populateObject()
_setHeaderProperties()
_setFlags()
_deliveryNotification()
_meetingRequest()
_poomMailFlagged()
_specialTypes()
_signedEncrypted()
_messageImportance()
_getEASImportance()
_getiTipStatus()
_buildBodyPart()
_buildBody()
_buildHtmlPart()
$_mbd
$_imapMessage
$_easMessage
$_airsyncBody
$_options
$_version
$_logger
$_procid
N/A
No private methods found
No private properties found
N/A

Properties

$_options

$_options : array

Type

array

$_version

$_version : string

Type

string

$_logger

$_logger : \Horde_Log_Logger

Logger

Type

\Horde_Log_Logger

$_procid

$_procid : integer

Process Id

Type

integer

Methods

__construct()

__construct(\Horde_ActiveSync_Imap_Message  $imap_message, array  $options, \Horde_Log_Logger  $logger) 

Parameters

\Horde_ActiveSync_Imap_Message $imap_message

The IMAP message object.

array $options

Options array.

\Horde_Log_Logger $logger

The logger.

getMessageObject()

getMessageObject(  $params = array()) : \Horde_ActiveSync_Message_Base

Return a Horde_ActiveSync_Message_Mail object with the appropriate body related properties populated.

Parameters

$params

Paramater array: -flags: An array representing the message's flags.

Returns

\Horde_ActiveSync_Message_Base

create()

create(\Horde_ActiveSync_Imap_Message  $imap_message, array  $options,   $logger) : \Horde_ActiveSync_Imap_EasMessageType

Simple factory for creating the correct Horde_ActiveSync_Imap_EasMessageType object.

Parameters

\Horde_ActiveSync_Imap_Message $imap_message
array $options
$logger

The logger.

Returns

\Horde_ActiveSync_Imap_EasMessageType

_populateObject()

_populateObject() 

Populate the EAS message object.

_setHeaderProperties()

_setHeaderProperties() 

Sets general email header properties: To:, From:, Cc:, Reply-To:, Subject:, Threadtopic:, Date:

_setFlags()

_setFlags(  $msgFlags) 

Set IMAP message flags (EAS categories).

Parameters

$msgFlags

_deliveryNotification()

_deliveryNotification() 

Check for Disposition-Notification and deliver-status reports.

_meetingRequest()

_meetingRequest() 

Check for meeting requests/responses.

_poomMailFlagged()

_poomMailFlagged() 

Handle POOMMAIL_FLAGGED data.

_specialTypes()

_specialTypes() 

Check for and handle special message types.

Signed, Encrypted, Disposition, MeetingRequest, Flagged.

_signedEncrypted()

_signedEncrypted() 

Handle signed/encrypted messageclass.

_messageImportance()

_messageImportance() 

Set any importance data.

_getEASImportance()

_getEASImportance(string  $importance) : integer

Map Importance header values to EAS importance values.

Parameters

string $importance

The importance [high|normal|low].

Returns

integer —

The EAS importance value [0|1|2].

_getiTipStatus()

_getiTipStatus(\Horde_Icalendar  $vCal) 

Return the attendee participation status.

Parameters

\Horde_Icalendar $vCal

The vCalendar component.

Throws

\Horde_ActiveSync_Exception

_buildBody()

_buildBody() 

Perform all tasks.

_buildHtmlPart()

_buildHtmlPart() 

Build the HTML body and populate the appropriate message object.