PHP Class Horde_Core_ActiveSync_Mail_Draft, horde

Wraps functionality related to handling Draft email messages during sync.
Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_Core_ActiveSync_Mail
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_atcAdd Attachments to add.
$_atcDelete Attachments to remove
$_draftMessage Horde_ActiveSync_Message_Email Draft Email from client.
$_draftUid integer Existing Draft message's UID.
$_imapMessage Horde_ActiveSync_Imap_Message Existing Draft message.
$_textPart Horde_Mime_Part Text part of Draft message.

Méthodes publiques

Méthode Description
append ( $folderid ) : array Append the current Draft message to the IMAP server.
getExistingDraftMessage ( string $folderid, integer $uid ) Fetch an existing message from the Draft folder. This message will be expunged after the new draft is appended to the IMAP server.
setDraftMessage ( Horde_ActiveSync_Message_Mail $draft ) Add the Draft message sent from the client.

Méthodes protégées

Méthode Description
_handleAttachments ( )

Method Details

_handleAttachments() protected méthode

protected _handleAttachments ( )

append() public méthode

Append the current Draft message to the IMAP server.
public append ( $folderid ) : array
Résultat array An array with the following keys: - uid: (integer) The new draft message's IMAP UID. - atchash: (array) An attachment hash of newly added attachments.

getExistingDraftMessage() public méthode

Fetch an existing message from the Draft folder. This message will be expunged after the new draft is appended to the IMAP server.
public getExistingDraftMessage ( string $folderid, integer $uid )
$folderid string The Draft folder's folderid.
$uid integer The UID of the existing Draft message.

setDraftMessage() public méthode

Add the Draft message sent from the client.
public setDraftMessage ( Horde_ActiveSync_Message_Mail $draft )
$draft Horde_ActiveSync_Message_Mail The draft message object.

Property Details

$_atcAdd protected_oe property

Attachments to add.
protected $_atcAdd

$_atcDelete protected_oe property

Attachments to remove
protected $_atcDelete

$_draftMessage protected_oe property

Draft Email from client.
protected Horde_ActiveSync_Message_Email $_draftMessage
Résultat Horde_ActiveSync_Message_Email

$_draftUid protected_oe property

Existing Draft message's UID.
protected int $_draftUid
Résultat integer

$_imapMessage protected_oe property

Existing Draft message.
protected Horde_ActiveSync_Imap_Message $_imapMessage
Résultat Horde_ActiveSync_Imap_Message

$_textPart protected_oe property

Text part of Draft message.
protected Horde_Mime_Part $_textPart
Résultat Horde_Mime_Part