IMP_MailboxThe IMP_Mailbox:: class contains all code related to handling mailbox access.
Copyright 2002-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/Mailbox.php (line 25)
integer
$_arrayIndex
= null (line 39)
The location in the sorted array we are at.
boolean
$_build
= false (line 53)
Has _buildMailbox() been called?
boolean
$_cacheexpire
= false (line 77)
If the cache has expired, make note so we know when to update vs.
overwrite.
integer
$_lastArrayIndex
= null (line 46)
The location of the last message we were at.
string
$_mailbox
(line 32)
The mailbox to work with.
boolean
$_searchmbox
(line 84)
Is this a search malbox?
array
$_sorted
= array() (line 60)
The array of sorted indices.
array
$_sortedInfo
= array() (line 69)
The array of information about the sorted indices list.
Entries: 'm' = Mailbox (if not exist, then use current mailbox)
Constructor IMP_Mailbox (line 121)
Constructor.
buildMailboxPage (line 505)
Using the preferences and the current mailbox, determines the messages to view on the current page.
getArrayIndex (line 790)
Returns the array index of the given message UID.
getCacheID (line 848)
Returns a unique identifier for the current mailbox status.
getIMAPIndex (line 411)
Returns IMAP mbox/UID information on a message.
getMailboxArray (line 163)
Build the array of message information.
getMailboxName (line 141)
The mailbox this object works with.
getMessageCount (line 383)
Returns the current message count of the mailbox.
getMessageIndex (line 367)
Returns the current message array index. If the array index has run off the end of the message array, will return the last index.
getSortedList (line 826)
Returns a raw sorted list of the mailbox.
isValidIndex (line 397)
Checks to see if the current index is valid.
This function is only useful if an index was passed to the constructor.
newMessages (line 307)
Get the list of new messages in the mailbox (IMAP RECENT flag, with UNDELETED if we're hiding deleted messages).
setIndex (line 659)
Updates the message array index.
singleton (line 100)
Attempts to return a reference to a concrete IMP_Mailbox instance.
It will only create a new instance if no IMP_Mailbox instance with the same parameters currently exists.
This method must be invoked as: $var = &IMP_Mailbox::singleton($mailbox[, $index]);
unseenMessages (line 321)
Get the list of unseen messages in the mailbox (IMAP UNSEEN flag, with UNDELETED if we're hiding deleted messages).
updateMailbox (line 434)
Update the current mailbox if an action has been performed on the current message index.
Documentation generated on Sun, 30 Jan 2011 05:28:14 +0000 by phpDocumentor 1.4.3