The Kolab_Cache class provides a cache for the Kolab storage for groupware objects
$Horde: framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache.php,v 1.2.2.4 2009/01/06 15:23:18 jan Exp $
Copyright 2007-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Kolab_Storage/lib/Horde/Kolab/Storage/Cache.php (line 26)
A nextid marker for a share in the cache. This allows the storage handler to invalidate the cache for this share.
The objects of the current share.
| objects: key is uid (GUID) | ----------- hashed object data |----------- uid: object id (GUID) | |----------- all fields from kolab specification
The uid<->object mapping of the current share.
| uids Mapping between imap uid and object uids: imap uid -> object uid Special: A value of "false" means we've seen the uid but we deciced to ignore it in the future
A validity marker for a share in the cache. This allows the storage handler to invalidate the cache for this share.
The internal version of the cache format represented by the code.
The version of the cache format that includes the data version.
The version of the data format provided by the storage handler.
The link to the horde cache.
The unique key for the currently loaded data.
The version of the cache we loaded.
Constructor.
Deliberately expire a cache.
Mark the ID as invalid (cannot be correctly parsed).
Load the cached share data identified by $key.
Load a cached attachment.
Initialize the cache structure.
Save the share data in the cache.
Attempts to return a reference to a concrete Kolab_Cache instance. It will only create a new instance if no Kolab_Cache instance currently exists.
This method must be invoked as: $var = &Kolab_Cache::singleton()
Store an object in the cache.
Cache an attachment.
Documentation generated on Sun, 30 Jan 2011 05:15:39 +0000 by phpDocumentor 1.4.3