Modules/Groupware/Email/Draft/Model/Draft.php

Show: inherited
Table of Contents

\Conjoon_Modules_Groupware_Email_Draft_Model_Draft

Package: Conjoon\Groupware\Email\Model

Author
Thorsten Suckow-Homberg  
Category
Model  

Methods

methodpublicgetDraft( integer $itemId, integer $userId, string $context = '' ) : array

Returns an assoc array with the data of an draft. The returned array has all properties as according to Conjoon_Modules_Groupware_Email_Draft.

Parameters
Name Type Description
$itemId integer
$userId integer
$context string

The context used to fetch the draft. Important when dealign with contexts "reply", "reply_all" and "forward". - context "forward": fields "references" and "in_reply_to" will be set to an empty string - context "reply", "reply_all": "in_reply_to" will be set to the message-id of the email, references will be concatenated with the message-id

Returns
Type Description
array
Documentation was generated by DocBlox 0.18.1.