Method | Description | |
---|---|---|
__construct ( Horde_Kolab_Storage_Driver $driver, Horde_Kolab_Storage_Folder_Types $types, Horde_Kolab_Storage_List_Query_List_Defaults $defaults ) | Constructor. | |
_synchronize ( Horde_Kolab_Storage_Folder_Namespace $namespace, array $folder_list, $annotations ) : null | Synchronize based on the given folder list. | |
getDuplicateDefaults ( ) : array | Return any default folder duplicates. | |
setCache ( Horde_Kolab_Storage_List_Cache $cache ) | Set the list cache. | |
setDefault ( array $folder, string | boolean $previous = false ) | Set the specified folder as default for its current type. | |
synchronize ( ) | Synchronize the query data with the information from the backend. | |
updateAfterCreateFolder ( string $folder, string $type = null ) : null | Update the listener after creating a new folder. | |
updateAfterDeleteFolder ( string $folder ) : null | Update the listener after deleting folder. | |
updateAfterRenameFolder ( string $old, string $new ) : null | Update the listener after renaming a folder. |
public __construct ( Horde_Kolab_Storage_Driver $driver, Horde_Kolab_Storage_Folder_Types $types, Horde_Kolab_Storage_List_Query_List_Defaults $defaults ) | ||
$driver | Horde_Kolab_Storage_Driver | The driver to access the backend. |
$types | Horde_Kolab_Storage_Folder_Types | Handler of folder types. |
$defaults | Horde_Kolab_Storage_List_Query_List_Defaults |
public _synchronize ( Horde_Kolab_Storage_Folder_Namespace $namespace, array $folder_list, $annotations ) : null | ||
$namespace | Horde_Kolab_Storage_Folder_Namespace | The namespace handler |
$folder_list | array | The list of folders. |
return | null |
public getDuplicateDefaults ( ) : array | ||
return | array | The list of duplicate default folders accessible to the current user. |
public setCache ( Horde_Kolab_Storage_List_Cache $cache ) | ||
$cache | Horde_Kolab_Storage_List_Cache | The reference to the cache that should reveive any updates. |
public synchronize ( ) |
public updateAfterDeleteFolder ( string $folder ) : null | ||
$folder | string | The path of the folder that has been deleted. |
return | null |