Property | Type | Description | |
---|---|---|---|
$contents | IMP_Contents | Contents object. | |
$headersUsed | array | The list of headers used by this class. |
Property | Type | Description | |
---|---|---|---|
$_cache | array | Cached values. | |
$_envelope | Horde_Imap_Client_Data_Envelope | Envelope object. | |
$_headers | Horde_Mime_Headers | Header information. | |
$_indices | IMP_Indices | Indices object. | |
$_peek | boolean | Don't seen seen flag? |
Method | Description | |
---|---|---|
__construct ( IMP_Indices $indices, boolean $peek = false ) | Constructor. | |
addChangedFlag ( ) | Add changed flag information to the AJAX queue output, if necessary. | |
getAddressHeader ( mixed $header, integer $limit = 50 ) : array | Return data to build an address header. | |
getDateOb ( ) : mixed | Return date data. | |
getInlineOutput ( string $mimeid = null ) : array | Get the inline display output for a message. | |
getResentData ( ) : array | Return resent message data. | |
getSaveAs ( ) : Horde_Url | Return the save link for the message source. | |
getSubject ( ) : array | Return subject header data. | |
getUserHeaders ( ) : array | Get the user-specified headers. | |
showMessage ( ) : array | Create the object used to display the message. |
Method | Description | |
---|---|---|
_formatSummary ( array $summary, boolean $atc = false ) : string | Prints out a MIME summary (in HTML). | |
_getInlineOutput ( array $options ) : array | Generate inline message display. | |
_loadHeaders ( ) | Loads the MIME headers object internally. |
public __construct ( IMP_Indices $indices, boolean $peek = false ) | ||
$indices | IMP_Indices | The index of the message. |
$peek | boolean | Don't set seen flag? |
protected _getInlineOutput ( array $options ) : array | ||
$options | array | Options: - mask: (integer) The mask needed for a getSummary() call. - mimeid: (string) Restrict output to this MIME ID (and children). |
return | array | See getInlineOutput(). |
protected _loadHeaders ( ) |
public addChangedFlag ( ) |
public getAddressHeader ( mixed $header, integer $limit = 50 ) : array | ||
$header | mixed | The address header name (string) or a Horde_Mime_Rfc822_List object. |
$limit | integer | Limit display to this many addresses. If null, shows all addresses. |
return | array | An array with the following entries: - addr: (array) List of addresses/groups. Group keys: 'a' (list of addresses); 'g' (group name) Address keys: 'b' (bare address); 'p' (personal part) Both: 'v' (full value) - limit: (integer) If limit was reached, the number of total addresses. - raw: (string) A raw string to display instead of addresses. |
public getInlineOutput ( string $mimeid = null ) : array | ||
$mimeid | string | Restrict output to this MIME ID (and children). |
return | array | An array with the following keys: - atc_parts: (array) The list of attachment MIME IDs. - display_ids: (array) The list of display MIME IDs. - metadata: (array) A list of metadata. - msgtext: (string) The rendered HTML code. - one_part: (boolean) If true, the message only consists of one part. |
public getResentData ( ) : array | ||
return | array | An array of arrays, each sub-array representing a resent action and containing these keys: - date: (IMP_Message_Date) Date object of the resent action. - from: (Horde_Mail_Rfc822_List) Address object containing the address(es) that resent the message. |
public getSaveAs ( ) : Horde_Url | ||
return | Horde_Url | URL for the save link. |
public getSubject ( ) : array | ||
return | array | Array with these possible keys:
- subject: (string) The subject. - subjectlink: (string) The subject with linked URLs/email addresses (if not present, is same as 'subject'). - title: (string) The title of the page derived from the subject. |
public getUserHeaders ( ) : array | ||
return | array | The list of user-defined headers. Array of arrays with
these keys:
- name: (string) Header name. - value: (string) Header value. |
public showMessage ( ) : array | ||
return | array | Array with the following keys: - atc: (object) Attachment information. - download: (string) The URL for the download all action. - label: (string) The attachment label. - list: (array) Attachment information. - md: (array) Metadata. - msgtext: (string) The text of the message. - onepart: (boolean) True if message only contains one part. |
protected Horde_Imap_Client_Data_Envelope $_envelope | ||
return | Horde_Imap_Client_Data_Envelope |
protected Horde_Mime_Headers $_headers | ||
return | Horde_Mime_Headers |
public static array $headersUsed | ||
return | array |