TYPE_INVALID
TYPE_INVALID
Indicates an invalid object.
Represents a single Kolab object.
$_driver : \Horde_Kolab_Storage_Driver
The driver for accessing the backend.
setDriver(\Horde_Kolab_Storage_Driver $driver)
Set the driver for accessing the backend.
\Horde_Kolab_Storage_Driver | $driver | The driver. |
create(\Horde_Kolab_Storage_Folder $folder, \Horde_Kolab_Storage_Object_Writer $data, string $type) : boolean|string
Create a new object in the backend.
\Horde_Kolab_Storage_Folder | $folder | The folder to retrieve the data object from. |
\Horde_Kolab_Storage_Object_Writer | $data | The data writer. |
string | $type | The type of object to be stored. |
The return value of the append operation.
load(string $backend_id, \Horde_Kolab_Storage_Folder $folder, \Horde_Kolab_Storage_Object_Writer $data, \Horde_Mime_Part $structure = null)
Loads the object from the backend.
string | $backend_id | The object ID within the backend. |
\Horde_Kolab_Storage_Folder | $folder | The folder to retrieve the data object from. |
\Horde_Kolab_Storage_Object_Writer | $data | The data parser. |
\Horde_Mime_Part | $structure | The MIME message structure of the object. |
save(\Horde_Kolab_Storage_Object_Writer $data) : boolean|string
Store the modified object in the backend.
\Horde_Kolab_Storage_Object_Writer | $data | The data writer. |
The return value of the append operation.
_getDriver() : \Horde_Kolab_Storage_Driver
Return the driver for accessing the backend.
The driver.
_appendMessage(\Horde_Mime_Part $message, \Horde_Mime_Headers $headers) : boolean|string
Append a new message.
\Horde_Mime_Part | $message | The message. |
\Horde_Mime_Headers | $headers | The message headers. |
The return value of the append operation.