public forwardMultipleMessages ( IMP_Indices $indices ) : array | ||
$indices | IMP_Indices | An indices object containing the indices of the forwarded messages. |
return | array | An array with the following keys: - body: (string) The text of the body part. - format: (string) The format of the body message ('html', 'text'). - identity: (mixed) See IMP_Prefs_Identity#getMatchingIdentity(). - subject: (string) Formatted subject. - title: (string) Title to use on page. - type: (integer) The compose type. |
public function forwardMultipleMessages(IMP_Indices $indices)
{
global $injector, $prefs;
$this->_setMetadata('indices', $indices);
$this->_replytype = self::FORWARD_ATTACH;
$subject = $this->attachImapMessage($indices);
return array('body' => '', 'format' => $prefs->getValue('compose_html') && self::canHtmlCompose() ? 'html' : 'text', 'identity' => $injector->getInstance('IMP_Identity')->getDefault(), 'subject' => $subject, 'title' => $subject, 'type' => self::FORWARD);
}