Horde_ActiveSync_Imap_EasMessageBuilder
in package
Base class for building and populating the various body related properties of a Horde_ActiveSync_Message_Mail object.
Tags
Table of Contents
- $_airsyncBody : Horde_ActiveSync_Message_AirSyncBaseBody
- $_easMessage : Horde_ActiveSync_Message_Base
- $_imapMessage : Horde_ActiveSync_Imap_Message
- $_logger : Horde_Log_Logger
- Logger
- $_mbd : Horde_ActiveSync_Imap_MessageBodyData
- $_options : array<string|int, mixed>
- $_procid : int
- Process Id
- $_version : string
- __construct() : mixed
- create() : Horde_ActiveSync_Imap_EasMessageType
- Simple factory for creating the correct Horde_ActiveSync_Imap_EasMessageType object.
- getMessageObject() : Horde_ActiveSync_Message_Base
- Return a Horde_ActiveSync_Message_Mail object with the appropriate body related properties populated.
- _buildBodyPart() : Horde_ActiveSync_Message_AirSyncBaseBodypart
- Build the BodyPart data.
- _deliveryNotification() : mixed
- Check for Disposition-Notification and deliver-status reports.
- _getEASImportance() : int
- Map Importance header values to EAS importance values.
- _getiTipStatus() : mixed
- Return the attendee participation status.
- _meetingRequest() : mixed
- Check for meeting requests/responses.
- _messageImportance() : mixed
- Set any importance data.
- _poomMailFlagged() : mixed
- Handle POOMMAIL_FLAGGED data.
- _populateObject() : mixed
- Populate the EAS message object.
- _setFlags() : mixed
- Set IMAP message flags (EAS categories).
- _setHeaderProperties() : mixed
- Sets general email header properties: To:, From:, Cc:, Reply-To:, Subject:, Threadtopic:, Date:
- _signedEncrypted() : mixed
- Handle signed/encrypted messageclass.
- _specialTypes() : mixed
- Check for and handle special message types.
Properties
$_airsyncBody
protected
Horde_ActiveSync_Message_AirSyncBaseBody
$_airsyncBody
$_easMessage
protected
Horde_ActiveSync_Message_Base
$_easMessage
$_imapMessage
protected
Horde_ActiveSync_Imap_Message
$_imapMessage
$_logger
Logger
protected
Horde_Log_Logger
$_logger
$_mbd
protected
Horde_ActiveSync_Imap_MessageBodyData
$_mbd
$_options
protected
array<string|int, mixed>
$_options
$_procid
Process Id
protected
int
$_procid
$_version
protected
string
$_version
Methods
__construct()
public
__construct(Horde_ActiveSync_Imap_Message $imap_message, array<string|int, mixed> $options, Horde_Log_Logger $logger) : mixed
Parameters
- $imap_message : Horde_ActiveSync_Imap_Message
-
The IMAP message object.
- $options : array<string|int, mixed>
-
Options array.
- $logger : Horde_Log_Logger
-
The logger.
Return values
mixed —create()
Simple factory for creating the correct Horde_ActiveSync_Imap_EasMessageType object.
public
static create(Horde_ActiveSync_Imap_Message $imap_message, array<string|int, mixed> $options, $logger) : Horde_ActiveSync_Imap_EasMessageType
Parameters
- $imap_message : Horde_ActiveSync_Imap_Message
- $options : array<string|int, mixed>
- $logger :
-
The logger.
Return values
Horde_ActiveSync_Imap_EasMessageType —getMessageObject()
Return a Horde_ActiveSync_Message_Mail object with the appropriate body related properties populated.
public
getMessageObject([ $params = array() ]) : Horde_ActiveSync_Message_Base
Parameters
Return values
Horde_ActiveSync_Message_Base —_buildBodyPart()
Build the BodyPart data.
protected
_buildBodyPart() : Horde_ActiveSync_Message_AirSyncBaseBodypart
Return values
Horde_ActiveSync_Message_AirSyncBaseBodypart —_deliveryNotification()
Check for Disposition-Notification and deliver-status reports.
protected
_deliveryNotification() : mixed
Return values
mixed —_getEASImportance()
Map Importance header values to EAS importance values.
protected
_getEASImportance(string $importance) : int
Parameters
- $importance : string
-
The importance [high|normal|low].
Return values
int —The EAS importance value [0|1|2].
_getiTipStatus()
Return the attendee participation status.
protected
_getiTipStatus(Horde_Icalendar $vCal) : mixed
Parameters
- $vCal : Horde_Icalendar
-
The vCalendar component.
Tags
Return values
mixed —_meetingRequest()
Check for meeting requests/responses.
protected
_meetingRequest() : mixed
Return values
mixed —_messageImportance()
Set any importance data.
protected
_messageImportance() : mixed
Return values
mixed —_poomMailFlagged()
Handle POOMMAIL_FLAGGED data.
protected
_poomMailFlagged() : mixed
Return values
mixed —_populateObject()
Populate the EAS message object.
protected
_populateObject() : mixed
Return values
mixed —_setFlags()
Set IMAP message flags (EAS categories).
protected
_setFlags(mixed $msgFlags) : mixed
Parameters
- $msgFlags : mixed
Return values
mixed —_setHeaderProperties()
Sets general email header properties: To:, From:, Cc:, Reply-To:, Subject:, Threadtopic:, Date:
protected
_setHeaderProperties() : mixed
Return values
mixed —_signedEncrypted()
Handle signed/encrypted messageclass.
protected
_signedEncrypted() : mixed
Return values
mixed —_specialTypes()
Check for and handle special message types.
protected
_specialTypes() : mixed
Signed, Encrypted, Disposition, MeetingRequest, Flagged.