Property | Type | Description | |
---|---|---|---|
$_readOnly | array | The list of actions that require readonly access to the session. |
Method | Description | |
---|---|---|
addAttachmentCkeditor ( ) : Horde_Core_Ajax_Response_Raw | AJAX action: Add an attachment to a compose message (from the ckeditor plugin). | |
addContact ( ) : boolean | AJAX action: Add contact. | |
addressHeader ( ) : object | AJAX action: Return a list of address objects used to build an address header for a message. | |
autocompleteSearch ( ) : object | AJAX Action: Do an autocomplete search. | |
blacklist ( ) : boolean | AJAX action: Blacklist/whitelist addresses from messages. | |
createFlag ( ) : object | AJAX action: Create an IMAP flag. | |
createMailbox ( ) : boolean | AJAX action: Create a mailbox. | |
createMailboxPrepare ( ) : object | AJAX action: Check access rights for creation of a submailbox. | |
deleteAttach ( ) : array | AJAX action: Delete an attachment from compose data. | |
deleteMailbox ( ) : boolean | AJAX action: Delete a mailbox. | |
deleteMailboxPrepare ( ) : object | AJAX action: Check access rights for deletion/rename of mailbox. | |
dynamicInit ( ) : boolean | AJAX action: Initialize dynamic view. | |
emptyMailbox ( ) : boolean | AJAX action: Empty a mailbox. | |
emptyMailboxPrepare ( ) : object | AJAX action: Check access rights for a mailbox, and provide number of messages to be emptied. | |
flagAll ( ) : boolean | AJAX action: Flag all messages in a mailbox. | |
flagMessages ( ) : boolean | AJAX action: Flag messages. | |
getContactsImage ( ) : object | AJAX action: Return the contacts images for a given e-mail address. | |
html2Text ( ) : object | AJAX action: Convert HTML to text (compose data). | |
importMailbox ( ) : object | AJAX action: Import a mailbox. | |
inlineMessageOutput ( ) : object | AJAX action: Return the inline display text for a given MIME ID of a message. | |
isFixedMbox ( ) : object | AJAX action: Is the given mailbox fixed? Called dynamically to delay retrieval of ACLs of all visible mailboxes at initialization. | |
listMailboxes ( ) : boolean | AJAX action: List mailboxes. | |
mailboxSize ( ) : object | AJAX action: Determine the size of a mailbox. | |
messageMimeTree ( ) : mixed | AJAX action: Return the MIME tree representation of the message. | |
modifyPoll ( ) : mixed | AJAX action: Modify list of polled mailboxes. | |
newFilter ( ) : Horde_Core_Ajax_Response_HordeCore_Reload | AJAX action: Redirect to the filter edit page and pre-populate with an e-mail address. | |
purgeDeleted ( ) : boolean | AJAX action: Purge deleted messages. | |
renameMailbox ( ) : boolean | AJAX action: Rename a mailbox. | |
sendMDN ( ) : mixed | AJAX action: Send a Message Disposition Notification (MDN). | |
sentMailList ( ) : object | AJAX action: Generate the sent-mail select list. | |
stripAttachment ( ) : mixed | AJAX action: strip attachment. | |
subscribe ( ) : boolean | AJAX action: [un]Subscribe to a mailbox. | |
text2Html ( ) : object | AJAX action: Convert text to HTML (compose data). |
Method | Description | |
---|---|---|
_convertText ( $mode ) | Helper for html2Text() and text2Html(). |
protected _convertText ( $mode ) |
public addAttachmentCkeditor ( ) : Horde_Core_Ajax_Response_Raw | ||
return | Horde_Core_Ajax_Response_Raw | text/html return containing javascript code to update the URL parameter in CKEditor. |
public addContact ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public addressHeader ( ) : object | ||
return | object | An object with the following entries: - hdr_data: (object) Contains header names as keys and lists of address objects as values. |
public autocompleteSearch ( ) : object | ||
return | object | An object with a single property: 'results'. The format of 'results' depends on the search type. - type = 'email' Results is an array with the following keys for each result: - g: (array) List of addresses in the group (in same 'results' format as type = 'email'). - l: (string) Full label. - s: (string) Short display string. - v: (string) Value. |
public createFlag ( ) : object | ||
return | object | An object with the following properties: - success: (boolean) True if successful. |
public createMailbox ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public createMailboxPrepare ( ) : object | ||
return | object | Object with the following properties: - result: (boolean) True if submailboxes can be created. |
public deleteAttach ( ) : array | ||
return | array | The list of attchment IDs that were deleted. |
public deleteMailbox ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public deleteMailboxPrepare ( ) : object | ||
return | object | Object with the following properties: - result: (boolean) True if mailbox can be deleted/renamed. |
public dynamicInit ( ) : boolean | ||
return | boolean | True. |
public emptyMailbox ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public emptyMailboxPrepare ( ) : object | ||
return | object | Object with the following properties: - result: (integer) The number of messages to be deleted. |
public flagMessages ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public getContactsImage ( ) : object | ||
return | object | An object with the following properties: - avatar: (string) The URL of the avatar image. - flag: (string) The URL of the sender's country flag image. - flagname: (string) The name of the country of the sender. |
public importMailbox ( ) : object | ||
return | object | Returns response object to display JSON HTML-encoded: - action: (string) The action name (importMailbox). - mbox: (string) The mailbox the messages were imported to (base64url encoded). |
public inlineMessageOutput ( ) : object | ||
return | object | An object with the following entries:
- md: (array) Metadata information. - mimeid: (string) The base MIME ID of the text. - puids: (array) See IMP_Ajax_Application#previewUids(). - text: (string) Inline Message text of the part. |
public isFixedMbox ( ) : object | ||
return | object | An object with the following entires: - fixed: (boolean) True if the mailbox is fixed. |
public listMailboxes ( ) : boolean | ||
return | boolean | True. |
public mailboxSize ( ) : object | ||
return | object | An object with the following properties: - size: (string) Formatted size string. |
public messageMimeTree ( ) : mixed | ||
return | mixed | On error will return null. Otherwise an object with the following entries: - tree: (string) The MIME tree representation of the message. If viewing preview, on error this object will contain error and errortype properties. |
public modifyPoll ( ) : mixed | ||
return | mixed | False on failure, or an object with the following entries: - add: (integer) 1 if added to the poll list, 0 if removed. - mbox: (string) The full mailbox name modified. |
public newFilter ( ) : Horde_Core_Ajax_Response_HordeCore_Reload | ||
return | Horde_Core_Ajax_Response_HordeCore_Reload | Object with URL to redirect to. |
public purgeDeleted ( ) : boolean | ||
return | boolean | True on success. |
public renameMailbox ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public sentMailList ( ) : object | ||
return | object | An object with the following properties: - flist: (array) TODO |
public stripAttachment ( ) : mixed | ||
return | mixed | False on failure, or an object with these properties:
- puids: (array) See IMP_Ajax_Application#previewUids(). Contains a list of new mailbox/UID values. |
protected array $_readOnly | ||
return | array |