$_driver
$_driver : \Horde_Kolab_Storage_Driver
The decorated driver.
The basic driver decorator definition for accessing Kolab storage.
Copyright 2010-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.
$_driver : \Horde_Kolab_Storage_Driver
The decorated driver.
__construct(\Horde_Kolab_Storage_Driver $driver)
Constructor.
\Horde_Kolab_Storage_Driver | $driver | The decorated driver. |
listAnnotation(string $annotation) : array
Retrieves the specified annotation for the complete list of mailboxes.
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.
getStampFromToken(string $folder, string $token, array $ids) : \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. This method, as opposed to self::getStamp(), uses the IMAP client's token to calculate the changes.
string | $folder | Return the stamp for this folder. |
string | $token | A sync token provided by the IMAP server. |
array | $ids | An array of UIDs that we know about. |
A stamp indicating the current folder status.
fetchBodypart(string $folder, array $uid, array $id) : resource
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.
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.