The 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)
The Horde_Cache object to use.
The working data for the current pageload. All changes take place to this data.
The list of cache slices loaded.
The list of items to save on shutdown.
The mapping of UIDs to slices.
The default slicesize to use.
Constructor.
Deletes mailboxes from the cache.
Delete messages in the cache.
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
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();
Update message flags in the cache.
Documentation generated on Sun, 30 Jan 2011 05:28:15 +0000 by phpDocumentor 1.4.3