$_namespace
$_namespace : \Horde_Kolab_Storage_Folder_Namespace
Memory cache for the namespace of this driver.
The base driver definition for accessing Kolab storage drivers.
Copyright 2009-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.
__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.
fetchStructure(string $mailbox, array $uids) : \Horde_Mime_Part
Retrieves the messages for the given message ids.
string | $mailbox | The mailbox to fetch the messages from. |
array | $uids | The message UIDs. |
The message structure parsed into a Horde_Mime_Part instance.
fetchBodypart(string $mailbox, array $uid, array $id) : resource
Retrieves a bodypart for the given message ID and mime part ID.
string | $mailbox | The mailbox to fetch the messages from. |
array | $uid | The message UID. |
array | $id | The mime part ID. |
The transfer-decoded body part data, as a stream resource presented as 8bit data.
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.
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.