Documentation

Horde_Kolab_Storage_List_Query_ActiveSync_Cache extends Horde_Kolab_Storage_List_Query_ActiveSync
in package
implements Horde_Kolab_Storage_List_Manipulation_Listener, Horde_Kolab_Storage_List_Synchronization_Listener

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.

Tags
category

Kolab

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Interfaces, Classes, Traits and Enums

Horde_Kolab_Storage_List_Manipulation_Listener
Describes a manipulation listener.
Horde_Kolab_Storage_List_Synchronization_Listener
Describes a synchronization listener.

Table of Contents

ACTIVE_SYNC  = 'ACTIVE_SYNC'
The active sync information
$_active_sync  : array<string|int, mixed>
The cached active sync data.
$_list_cache  : Horde_Kolab_Storage_Cache_List
The list cache.
$_query  : mixed
The underlying ActiveSync query.
__construct()  : mixed
Constructor.
getActiveSync()  : array<string|int, mixed>
Returns the active sync settings.
setActiveSync()  : string
Set the active sync settings.
synchronize()  : null
Purge all ActiveSync data and restart querying the backend.
updateAfterCreateFolder()  : null
Update the listener after creating a new folder.
updateAfterDeleteFolder()  : null
Update the listener after deleting folder.
updateAfterRenameFolder()  : null
Update the listener after renaming a folder.

Constants

ACTIVE_SYNC

The active sync information

public mixed ACTIVE_SYNC = 'ACTIVE_SYNC'

Properties

$_active_sync

The cached active sync data.

private array<string|int, mixed> $_active_sync

$_list_cache

The list cache.

private Horde_Kolab_Storage_Cache_List $_list_cache

$_query

The underlying ActiveSync query.

private mixed $_query

Methods

getActiveSync()

Returns the active sync settings.

public getActiveSync(string $folder) : array<string|int, mixed>
Parameters
$folder : string

The folder name.

Return values
array<string|int, mixed>

The folder active sync parameters.

setActiveSync()

Set the active sync settings.

public setActiveSync(string $folder, array<string|int, mixed> $data) : string
Parameters
$folder : string

The folder name.

$data : array<string|int, mixed>

The active sync settings.

Return values
string

The encoded share parameters.

synchronize()

Purge all ActiveSync data and restart querying the backend.

public synchronize() : null
Return values
null

updateAfterCreateFolder()

Update the listener after creating a new folder.

public updateAfterCreateFolder(string $folder[, string $type = null ]) : null
Parameters
$folder : string

The path of the folder that has been created.

$type : string = null

An optional type for the folder.

Return values
null

updateAfterDeleteFolder()

Update the listener after deleting folder.

public updateAfterDeleteFolder(string $folder) : null
Parameters
$folder : string

The path of the folder that has been deleted.

Return values
null

updateAfterRenameFolder()

Update the listener after renaming a folder.

public updateAfterRenameFolder(string $old, string $new) : null
Parameters
$old : string

The old path of the folder.

$new : string

The new path of the folder.

Return values
null

Search results