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.
상속: extends Horde_Kolab_Storage_List_Query_ActiveSync, implements Horde_Kolab_Storage_List_Manipulation_Listener, implements Horde_Kolab_Storage_List_Synchronization_Listener
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__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