PHP 클래스 Horde_Kolab_Storage_Synchronization_TimeBased, horde

Copyright 2012-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.
저자: Thomas Jarosch ([email protected])
저자: Gunnar Wrobel ([email protected])
상속: extends Horde_Kolab_Storage_Synchronization
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( integer $interval = 120, integer $random_offset = 90 ) Constructor.
synchronizeData ( Horde_Kolab_Storage_Data $data ) Synchronize the provided data in case the selected synchronization strategy requires it.
synchronizeList ( Horde_Kolab_Storage_List_Tools $list ) Synchronize the provided list in case the selected synchronization strategy requires it.

비공개 메소드들

메소드 설명
hasNotBeenSynchronizedYet ( string $data_id ) : boolean Check if the data store with the given data ID has been synchronized already during this session.
syncTimeHasElapsed ( string $data_id ) : boolean Check if the data store with the given data ID need to be resynchronized with the backend.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( integer $interval = 120, integer $random_offset = 90 )
$interval integer Kolab object cache resync interval with the IMAP server (in seconds).
$random_offset integer Random offset added to each folder sync interval.

synchronizeData() 공개 메소드

Synchronize the provided data in case the selected synchronization strategy requires it.
public synchronizeData ( Horde_Kolab_Storage_Data $data )
$data Horde_Kolab_Storage_Data The data to synchronize.

synchronizeList() 공개 메소드

Synchronize the provided list in case the selected synchronization strategy requires it.
public synchronizeList ( Horde_Kolab_Storage_List_Tools $list )
$list Horde_Kolab_Storage_List_Tools The list to synchronize.