$_logger
$_logger : mixed
A log handler.
A log decorator for the 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.
$_data : \Horde_Kolab_Storage_Data
Decorated data handler.
__construct(\Horde_Kolab_Storage_Data $data, mixed $logger)
Constructor.
\Horde_Kolab_Storage_Data | $data | The original data handler. |
mixed | $logger | The log handler. This instance must provide the debug() and debug() methods. |
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) : NULL
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.
registerQuery(string $name, \Horde_Kolab_Storage_Query $query) : NULL
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. |
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.