\Horde_Kolab_Storage_List_Query_ActiveSync_Cache

Caches active sync parameters.

Copyright 2011-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.

Summary

Methods
Properties
Constants
getActiveSync()
setActiveSync()
__construct()
updateAfterCreateFolder()
updateAfterDeleteFolder()
updateAfterRenameFolder()
synchronize()
No public properties found
ACTIVE_SYNC
No protected methods found
No protected properties found
N/A
No private methods found
$_query
$_list_cache
$_active_sync
N/A

Constants

ACTIVE_SYNC

ACTIVE_SYNC

The active sync information

Properties

$_query

$_query : 

The underlying ActiveSync query.

Type

$_list_cache

$_list_cache : \Horde_Kolab_Storage_Cache_List

The list cache.

Type

\Horde_Kolab_Storage_Cache_List

$_active_sync

$_active_sync : array

The cached active sync data.

Type

array

Methods

getActiveSync()

getActiveSync(string  $folder) : array

Returns the active sync settings.

Parameters

string $folder

The folder name.

Returns

array —

The folder active sync parameters.

setActiveSync()

setActiveSync(string  $folder, array  $data) : string

Set the active sync settings.

Parameters

string $folder

The folder name.

array $data

The active sync settings.

Returns

string —

The encoded share parameters.

updateAfterCreateFolder()

updateAfterCreateFolder(string  $folder, string  $type = null) : NULL

Update the listener after creating a new folder.

Parameters

string $folder

The path of the folder that has been created.

string $type

An optional type for the folder.

Returns

NULL

updateAfterDeleteFolder()

updateAfterDeleteFolder(string  $folder) : NULL

Update the listener after deleting folder.

Parameters

string $folder

The path of the folder that has been deleted.

Returns

NULL

updateAfterRenameFolder()

updateAfterRenameFolder(string  $old, string  $new) : NULL

Update the listener after renaming a folder.

Parameters

string $old

The old path of the folder.

string $new

The new path of the folder.

Returns

NULL

synchronize()

synchronize() : NULL

Purge all ActiveSync data and restart querying the backend.

Returns

NULL