Copyright 2013-2017 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Copyright: | 2013-2017 Horde LLC |
License: | http://www.horde.org/licenses/lgpl21 LGPL 2.1 |
File Size: | 421 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Horde_Imap_Client_Cache_Backend_Hashtable:: (15 methods):
__construct()
_initOb()
get()
getCachedUids()
set()
getMetaData()
setMetaData()
deleteMsgs()
deleteMailbox()
clear()
save()
_loadMailbox()
_loadUids()
_getCid()
_getMsgCids()
Class: Horde_Imap_Client_Cache_Backend_Hashtable - X-Ref
A Horde_HashTable implementation for caching IMAP/POP data.__construct(array $params = array() X-Ref |
Constructor. param: array $params Configuration parameters: |
_initOb() X-Ref |
No description |
get($mailbox, $uids, $fields, $uidvalid) X-Ref |
No description |
getCachedUids($mailbox, $uidvalid) X-Ref |
No description |
set($mailbox, $data, $uidvalid) X-Ref |
No description |
getMetaData($mailbox, $uidvalid, $entries) X-Ref |
No description |
setMetaData($mailbox, $data) X-Ref |
No description |
deleteMsgs($mailbox, $uids) X-Ref |
No description |
deleteMailbox($mailbox) X-Ref |
No description |
clear($lifetime) X-Ref |
No description |
save() X-Ref |
Updates the cache. |
_loadMailbox($mailbox, $uidvalid = null) X-Ref |
Loads basic mailbox information. param: string $mailbox The mailbox to load. param: integer $uidvalid The IMAP uidvalidity value of the mailbox. |
_loadUids($mailbox, $uids, $uidvalid = null) X-Ref |
Load UIDs by regenerating from the cache. param: string $mailbox The mailbox to load. param: array $uids The UIDs to load. param: integer $uidvalid The IMAP uidvalidity value of the mailbox. |
_getCid($mailbox) X-Ref |
Create the unique ID used to store the mailbox data in the cache. param: string $mailbox The mailbox to cache. return: string The cache ID. |
_getMsgCids($mailbox, $ids) X-Ref |
Return a list of cache IDs for mailbox/UID pairs. param: string $mailbox The mailbox to cache. param: array $ids The UID list. return: array List of UIDs => cache IDs. |