$_folder
$_folder : \Kolab_Folder
The link to the parent folder object.
The Kolab_Data class represents a data type in a Kolab storage folder on the Kolab server.
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.
$_driver : \Horde_Kolab_Storage_Driver
The driver for accessing the Kolab storage system.
$_factory : \Horde_Kolab_Storage_Factory
The factory for generating additional resources.
__construct(string $folder, string $type, \Horde_Kolab_Storage_Driver $driver, \Horde_Kolab_Storage_Factory $factory, string $object_type = null, integer $data_version = 1)
Creates a Kolab Folder Data representation.
string | $folder | Name/ID of the folder. |
string | $type | Type of the folder. |
\Horde_Kolab_Storage_Driver | $driver | The primary connection driver. |
\Horde_Kolab_Storage_Factory | $factory | The factory. |
string | $object_type | Type of the objects we want to read. |
integer | $data_version | Format version of the object data. |
move(string $object_uid, string $new_share) : boolean|\PEAR_Error
Move the specified message from the current folder into a new folder.
string | $object_uid | ID of the message to be deleted. |
string | $new_share | ID of the target share. |
True is successful, false if the object does not exist.
save(array $object, string $old_object_id = null) : boolean
Save an object.
array | $object | The array that holds the data object. |
string | $old_object_id | The id of the object if it existed before. |
In case the given old object id is invalid or an error occured while saving the data.
True on success.
_updateHistory(string $object_uid, integer $mod_ts, string $action) : NULL
Update the Horde history in case an element was modified outside of Horde.
string | $object_uid | Object uid that should be updated. |
integer | $mod_ts | Timestamp of the modification. |
string | $action | The action that was performed. |