Documentation

IMP_Mailbox_Ui
in package

Common UI code for IMP's various mailbox views.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2006-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Properties

$_draftsSent  : array<string|int, mixed>
Cached drafts sent-mail mailbox.
$_mailbox  : IMP_Mailbox
The current mailbox.

Methods

__construct()  : mixed
Constructor.
getFrom()  : array<string|int, mixed>
Get From address information for display on mailbox page.
getSubject()  : string
Formats the subject header.

Properties

$_draftsSent

Cached drafts sent-mail mailbox.

private array<string|int, mixed> $_draftsSent = array()

Methods

__construct()

Constructor.

public __construct([IMP_Mailbox $mailbox = null ]) : mixed
Parameters
$mailbox : IMP_Mailbox = null

The current mailbox.

getFrom()

Get From address information for display on mailbox page.

public getFrom(Horde_Imap_Client_Data_Envelope $ob) : array<string|int, mixed>
Parameters
$ob : Horde_Imap_Client_Data_Envelope

An envelope object.

Return values
array<string|int, mixed>

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
Parameters
$subject : string

The subject header.

$htmlspaces : string = false

HTML-ize spaces?

Return values
string

The formatted subject header.


        
On this page

Search results