$_folder
$_folder : \Horde_Kolab_Storage_Folder
The link to the parent folder object.
The cache decorator for Kolab storage data handlers.
Copyright 2011-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.
$_folder : \Horde_Kolab_Storage_Folder
The link to the parent folder object.
$_driver : \Horde_Kolab_Storage_Driver
The driver for accessing the Kolab storage system.
$_factory : \Horde_Kolab_Storage_Factory
The factory for generating additional resources.
$_data_cache : \Horde_Kolab_Storage_Cache_Data
The data cache.
__construct(\Horde_Kolab_Storage_Folder $folder, \Horde_Kolab_Storage_Driver $driver, \Horde_Kolab_Storage_Factory $factory, \Horde_Kolab_Storage_Cache $cache, string $type = null, integer $version = 1)
Constructor.
\Horde_Kolab_Storage_Folder | $folder | The folder to retrieve the data from. |
\Horde_Kolab_Storage_Driver | $driver | The primary connection driver. |
\Horde_Kolab_Storage_Factory | $factory | The factory. |
\Horde_Kolab_Storage_Cache | $cache | The cache storing data for this decorator. |
string | $type | The type of data we want to access in the folder. |
integer | $version | Format version of the object data. |
getStamp(\Horde_Kolab_Storage_Folder_Stamp $previous = null) : \Horde_Kolab_Storage_Folder_Stamp
Report the status of this folder.
\Horde_Kolab_Storage_Folder_Stamp | $previous | The previous stamp, if available. |
The stamp that can be used for detecting folder changes.
create( $object, boolean $raw = false) : string
Create a new object.
$object | ||
boolean | $raw | True if the data to be stored has been provided in raw format. |
In case an error occured while saving the data.
The ID of the new object or true in case the backend does not support this return value.
modify(array $object, boolean $raw = false) : string
Modify an existing object.
array | $object | The array that holds the updated object data. |
boolean | $raw | True if the data to be stored has been provided in raw format. |
In case an error occured while saving the data.
The new backend ID of the modified object or true in case the backend does not support this return value.
fetch(array $uids, boolean $raw = false) : array
Retrieves the objects for the given UIDs.
array | $uids | The message UIDs. |
boolean | $raw | True if the raw format should be returned rather than the parsed data. |
Horde_Kolab_Storage_Exception
An array of objects.
registerQuery(string $name, \Horde_Kolab_Storage_Query $query)
Register a query to be updated if the underlying data changes.
string | $name | The query name. |
\Horde_Kolab_Storage_Query | $query | The query to register. |
Horde_Kolab_Storage_Exception
getQuery(string $name = null) : \Horde_Kolab_Storage_Query
Return a registered query.
string | $name | The query name. |
In case the requested query does not exist.
The requested query.
_completeSynchronization(\Horde_Kolab_Storage_Folder_Stamp $stamp, array $params = array()) : NULL
Perform a complete synchronization.
\Horde_Kolab_Storage_Folder_Stamp | $stamp | The current stamp. |
array | $params | Additional parameters. |