IMP_Ajax_Application_ListMessages
in package
Message listing action for AJAX application handler.
Tags
Table of Contents
Methods
- listMessages() : IMP_Ajax_Application_Viewport
- Returns a list of messages for use with ViewPort.
- _getOverviewData() : array<string|int, mixed>
- Obtains IMAP overview data for a given set of message UIDs.
Methods
listMessages()
Returns a list of messages for use with ViewPort.
public
listMessages(mixed $args) : IMP_Ajax_Application_Viewport
Parameters
- $args : mixed
Return values
IMP_Ajax_Application_Viewport —Viewport data object.
_getOverviewData()
Obtains IMAP overview data for a given set of message UIDs.
private
_getOverviewData(IMP_Mailbox $mbox, array<string|int, mixed> $msglist) : array<string|int, mixed>
Parameters
- $mbox : IMP_Mailbox
-
The current mailbox.
- $msglist : array<string|int, mixed>
-
The list of message sequence numbers to process.
Tags
Return values
array<string|int, mixed> —TODO