createBackend()
createBackend() : mixed
Create the backend driver.
Returns
mixed —The backend driver.
The driver definition for accessing Kolab storage.
Copyright 2004-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.
listAnnotation(string $annotation) : array
Retrieves the specified annotation for the complete list of folders.
string | $annotation | The name of the annotation to retrieve. |
An associative array combining the folder names as key with the corresponding annotation value.
getStamp(string $folder) : \Horde_Kolab_Storage_Folder_Stamp
Returns a stamp for the current folder status. This stamp can be used to identify changes in the folder data.
string | $folder | Return the stamp for this folder. |
A stamp indicating the current folder status.
fetchBodypart(string $folder, array $uid, array $id) : resource|string
Retrieves a bodypart for the given message ID and mime part ID.
string | $folder | The folder to fetch the messages from. |
array | $uid | The message UID. |
array | $id | The mime part ID. |
The body part, as a stream resource or string.
fetchComplete(string $folder, array $uid) : array
Retrieves a complete message.
string | $folder | The folder to fetch the messages from. |
array | $uid | The message UID. |
The message encapsuled as an array that contains a Horde_Mime_Headers and a Horde_Mime_Part object.