$_namespace
$_namespace : \Horde_Kolab_Storage_Folder_Namespace
Memory cache for the namespace of this driver.
An Kolab storage mock driver.
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.
$_namespace : \Horde_Kolab_Storage_Folder_Namespace
Memory cache for the namespace of this driver.
$_factory : \Horde_Kolab_Storage_Factory
Factory for generating helper objects.
$_data : \Horde_Kolab_Storage_Driver_Mock_Data
The data of the folders.
__construct(\Horde_Kolab_Storage_Factory $factory, array $params = array())
Constructor.
\Horde_Kolab_Storage_Factory | $factory | A factory for helper objects. |
array | $params | Connection parameters. |
getModifiable(string $folder, string $obid, array $object) : \Horde_Kolab_Storage_Driver_Modifiable
Return a modifiable message object.
string | $folder | The folder to access. |
string | $obid | The backend ID of the object to retrieve from the folder. |
array | $object | The object data. |
The modifiable message object.
getNamespace() : \Horde_Kolab_Storage_Folder_Namespace
Retrieve the namespace information for this connection.
The initialized namespace handler.
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.
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
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.
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.
getFactory() : \Horde_Kolab_Storage_Factory
Return the factory.
The factory.
_getAnnotateMoreEntry(string $name) : array
Split a name for the METADATA extension into the correct syntax for the older ANNOTATEMORE version.
string | $name | A name for a metadata entry. |
A list of two elements: The entry name and the value type.