IMP_MessageThe IMP_Message:: class contains all functions related to handling messages within IMP. Actions such as moving, copying, and deleting messages are handled in here so that code need not be repeated between mailbox, message, and other pages.
Indices format: =============== For any function below that requires an $indices parameter, see IMP::parseIndicesList() for the list of allowable inputs.
$Horde: imp/lib/Message.php,v 1.164.8.64 2010-09-01 07:57:47 slusarz Exp $
Copyright 2000-2001 Chris Hyde <chris@jeks.net> Copyright 2000-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Message.php (line 31)
boolean
createTasksOrNotes
(string $list, integer $action, &$indices, [string $type = 'task'], mixed $indices)
IMP_Mailbox
$_mboxOb
(line 45)
The active IMP_Mailbox object to update on certain actions
integer
$_mboxObCount
= 0 (line 52)
Recursion count used to determine when $_mboxOb should be unset.
boolean
$_usepop
= false (line 38)
Using POP to access mailboxes?
Constructor IMP_Message (line 79)
Constructor.
copy (line 97)
Copies or moves a list of messages to a new folder.
Handles use of the IMP_SEARCH_MBOX mailbox and the Trash folder.
createTasksOrNotes (line 354)
Copies or moves a list of messages to a tasklist or notepad.
Handles use of the IMP_SEARCH_MBOX mailbox and the Trash folder.
delete (line 187)
Deletes a list of messages taking into account whether or not a Trash folder is being used.
Handles use of the IMP_SEARCH_MBOX mailbox and the Trash folder.
emptyMailbox (line 767)
Empties an entire mailbox.
expungeMailbox (line 703)
Expunges all deleted messages from the list of mailboxes.
flag (line 600)
Sets or clears a given flag for a list of messages.
Handles use of the IMP_SEARCH_MBOX mailbox. This function works with IMAP only, not POP3.
Valid flags are: 'seen', 'flagged', 'answered', 'deleted', 'draft'
flagAllInMailbox (line 666)
Sets or clears a given flag(s) for all messages in a list of mailboxes.
This function works with IMAP only, not POP3.
See flag() for the list of valid flags.
singleton (line 65)
Returns a reference to the global IMP_Message object, only creating it if it doesn't already exist. This ensures that only one IMP_Message instance is instantiated for any given session.
This method must be invoked as:
sizeMailbox (line 855)
Obtains the size of a mailbox.
stripPart (line 496)
Strips one or all MIME parts out of a message.
Handles the IMP_SEARCH_MBOX mailbox.
undelete (line 337)
Undeletes a list of messages.
Handles the IMP_SEARCH_MBOX mailbox. This function works with IMAP only, not POP3.
Documentation generated on Sun, 30 Jan 2011 05:28:15 +0000 by phpDocumentor 1.4.3