IMP_MessageCacheThe IMP_MessageCache:: class contains all functions related to caching information about RFC 2822 messages across sessions.
$Horde: imp/lib/IMAP/MessageCache.php,v 1.1.2.13 2009/01/06 15:24:05 jan Exp $
Copyright 2005-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/IMAP/MessageCache.php (line 21)
Horde_Cache
$_cache
(line 28)
The Horde_Cache object to use.
array
$_data
= array() (line 43)
The working data for the current pageload. All changes take place to this data.
array
$_loaded
= array() (line 50)
The list of cache slices loaded.
array
$_save
(line 35)
The list of items to save on shutdown.
array
$_slicemap
= array() (line 57)
The mapping of UIDs to slices.
integer
$_slicesize
= 100 (line 64)
The default slicesize to use.
Constructor IMP_MessageCache (line 90)
Constructor.
deleteMboxes (line 766)
Deletes mailboxes from the cache.
deleteMsgs (line 627)
Delete messages in the cache.
retrieve (line 221)
Retrieve the imap overview information for the given mailbox and message IDs.
1 = imap_fetch_overview() information
FIELDS: subject, from, to, date, message_id, references,
in_reply_to, size, uid, flagged, answered, deleted, seen,
draft
2 = IMAP mailbox arrival information
FIELDS: msgno
NOTE: This option ALWAYS requires an access to the IMAP server to
obtain the message list (sorted by arrival).
4 = Mailbox information
FIELDS: mailbox
8 = Mesage structure information (MIME_Message:: object)
FIELDS: structure
16 = Cached preview data (using prefs value)
FIELDS: preview
32 = Header information (IMP_Headers:: object)
FIELDS: header
64 = Cached preview data (overrides prefs value)
FIELDS: preview
128 = Cached IMP_UI_Mailbox::getFrom() data
FIELDS: getfrom
singleton (line 76)
Attempts to return a reference to a concrete IMP_MessageCache instance.
It will only create a new instance if no IMP_MessageCache instance with the same parameters currently exists.
This method must be invoked as: $var = &IMP_MessageCache::singleton();
updateFlags (line 598)
Update message flags in the cache.
Documentation generated on Sun, 30 Jan 2011 05:28:15 +0000 by phpDocumentor 1.4.3