PHP Class IMP_Mailbox_Ui, horde

Author: Michael Slusarz ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( IMP_Mailbox $mailbox = null ) Constructor.
getFrom ( Horde_Imap_Client_Data_Envelope $ob ) : array Get From address information for display on mailbox page.
getSubject ( string $subject, string $htmlspaces = false ) : string Formats the subject header.

Method Details

__construct() public method

Constructor.
public __construct ( IMP_Mailbox $mailbox = null )
$mailbox IMP_Mailbox The current mailbox.

getFrom() public method

Get From address information for display on mailbox page.
public getFrom ( Horde_Imap_Client_Data_Envelope $ob ) : array
$ob Horde_Imap_Client_Data_Envelope An envelope object.
return array An array of information: - from: (string) The label(s) of the From address (personal part; fallback to address). - from_label: (string) String to prefix to From label. - from_list: (Horde_Mail_Rfc822_List) From address list. - to: (boolean) True if this is who the message was sent to.

getSubject() public method

Formats the subject header.
public getSubject ( string $subject, string $htmlspaces = false ) : string
$subject string The subject header.
$htmlspaces string HTML-ize spaces?
return string The formatted subject header.