메소드 | 설명 | |
---|---|---|
__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. | |
delete ( string $object_uid ) : boolean | PEAR_Error | Delete the specified message from this folder. | |
deleteAll ( ) : boolean | PEAR_Error | Delete all messages from the current folder. | |
generateUID ( ) : string | Generate a unique object id. | |
getAttachment ( string $attachment_id ) : string | PEAR_Error | Return the specified attachment. | |
getObjectArray ( ) : array | Retrieve all objects in the current folder as an array. | |
move ( string $object_uid, string $new_share ) : boolean | PEAR_Error | Move the specified message from the current folder into a new folder. | |
save ( array $object, string $old_object_id = null ) : boolean | Save an object. | |
storageIdExists ( integer $uid ) : boolean | Test if the storage ID exists. | |
synchronize ( string $history_ignore = null ) : null | Synchronize the data cache for the current folder. |
메소드 | 설명 | |
---|---|---|
_updateHistory ( string $object_uid, integer $mod_ts, string $action ) : null | Update the Horde history in case an element was modified outside of Horde. |
public __construct ( string $folder, string $type, Horde_Kolab_Storage_Driver $driver, Horde_Kolab_Storage_Factory $factory, string $object_type = null, integer $data_version = 1 ) | ||
$folder | string | Name/ID of the folder. |
$type | string | Type of the folder. |
$driver | Horde_Kolab_Storage_Driver | The primary connection driver. |
$factory | Horde_Kolab_Storage_Factory | The factory. |
$object_type | string | Type of the objects we want to read. |
$data_version | integer | Format version of the object data. |
public generateUID ( ) : string | ||
리턴 | string | The unique id. |
public getAttachment ( string $attachment_id ) : string | PEAR_Error | ||
$attachment_id | string | The attachment id. |
리턴 | string | PEAR_Error | The attachment data as a string. |
public getObjectArray ( ) : array | ||
리턴 | array | The object data array. |
public storageIdExists ( integer $uid ) : boolean | ||
$uid | integer | The storage ID. |
리턴 | boolean | True if the ID exists. |
public synchronize ( string $history_ignore = null ) : null | ||
$history_ignore | string | Object uid that should not be updated in the History |
리턴 | null |