PHP Класс 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Storage_List_Query_ActiveSync, implements Horde_Kolab_Storage_List_Manipulation_Listener, implements Horde_Kolab_Storage_List_Synchronization_Listener
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Returns the active sync settings.
public getActiveSync ( string $folder ) : array
$folder string The folder name.
Результат array The folder active sync parameters.

setActiveSync() публичный Метод

Set the active sync settings.
public setActiveSync ( string $folder, array $data ) : string
$folder string The folder name.
$data array The active sync settings.
Результат string The encoded share parameters.

synchronize() публичный Метод

Purge all ActiveSync data and restart querying the backend.
public synchronize ( ) : null
Результат null

updateAfterCreateFolder() публичный Метод

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.
Результат null

updateAfterDeleteFolder() публичный Метод

Update the listener after deleting folder.
public updateAfterDeleteFolder ( string $folder ) : null
$folder string The path of the folder that has been deleted.
Результат null

updateAfterRenameFolder() публичный Метод

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.
Результат null