PHP Класс IMP_Mailbox_Ui, horde

Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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

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

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

Formats the subject header.
public getSubject ( string $subject, string $htmlspaces = false ) : string
$subject string The subject header.
$htmlspaces string HTML-ize spaces?
Результат string The formatted subject header.