PHP Класс Horde_Core_ActiveSync_Mail_Draft, horde

Wraps functionality related to handling Draft email messages during sync.
Автор: Michael J Rubinsky ([email protected])
Наследование: extends Horde_Core_ActiveSync_Mail
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
_handleAttachments ( )

Описание методов

_handleAttachments() защищенный Метод

protected _handleAttachments ( )

append() публичный Метод

Append the current Draft message to the IMAP server.
public append ( $folderid ) : array
Результат 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() публичный Метод

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() публичный Метод

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

Описание свойств

$_atcAdd защищенное свойство

Attachments to add.
protected $_atcAdd

$_atcDelete защищенное свойство

Attachments to remove
protected $_atcDelete

$_draftMessage защищенное свойство

Draft Email from client.
protected Horde_ActiveSync_Message_Email $_draftMessage
Результат Horde_ActiveSync_Message_Email

$_draftUid защищенное свойство

Existing Draft message's UID.
protected int $_draftUid
Результат integer

$_imapMessage защищенное свойство

Existing Draft message.
protected Horde_ActiveSync_Imap_Message $_imapMessage
Результат Horde_ActiveSync_Imap_Message

$_textPart защищенное свойство

Text part of Draft message.
protected Horde_Mime_Part $_textPart
Результат Horde_Mime_Part