PHP Class Horde_Kolab_Storage_List_Query_ActiveSync_Cache, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_Storage_List_Query_ActiveSync, implements Horde_Kolab_Storage_List_Manipulation_Listener, implements Horde_Kolab_Storage_List_Synchronization_Listener
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Kolab_Storage_List_Query_ActiveSync $query, Horde_Kolab_Storage_List_Cache $cache ) Constructor.
getActiveSync ( string $folder ) : array Returns the active sync settings.
setActiveSync ( string $folder, array $data ) : string Set the active sync settings.
synchronize ( ) : null Purge all ActiveSync data and restart querying 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.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Storage_List_Query_ActiveSync $query, Horde_Kolab_Storage_List_Cache $cache )
$query Horde_Kolab_Storage_List_Query_ActiveSync The underlying ActiveSync query.
$cache Horde_Kolab_Storage_List_Cache The list cache.

getActiveSync() public method

Returns the active sync settings.
public getActiveSync ( string $folder ) : array
$folder string The folder name.
return array The folder active sync parameters.

setActiveSync() public method

Set the active sync settings.
public setActiveSync ( string $folder, array $data ) : string
$folder string The folder name.
$data array The active sync settings.
return string The encoded share parameters.

synchronize() public method

Purge all ActiveSync data and restart querying the backend.
public synchronize ( ) : null
return null

updateAfterCreateFolder() public method

Update the listener after creating a new folder.
public updateAfterCreateFolder ( string $folder, string $type = null ) : null
$folder string The path of the folder that has been created.
$type string An optional type for the folder.
return null

updateAfterDeleteFolder() public method

Update the listener after deleting folder.
public updateAfterDeleteFolder ( string $folder ) : null
$folder string The path of the folder that has been deleted.
return null

updateAfterRenameFolder() public method

Update the listener after renaming a folder.
public updateAfterRenameFolder ( string $old, string $new ) : null
$old string The old path of the folder.
$new string The new path of the folder.
return null