PHP 클래스 Horde_Kolab_Storage_Data_Query_History_Base, horde

Copyright 2011-2014 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.
상속: implements Horde_Kolab_Storage_Data_Query_History
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_data Horde_Kolab_Storage_Data The queriable data.
$_factory Horde_Kolab_Storage_Factory The Kolab factory.
$_history Horde_History The history handler.
$_logger Horde_Log_Logger The logger

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Storage_Data $data, array $params ) Constructor.
setLogger ( Horde_Log_Logger $logger = null ) Set the logger
synchronize ( array $params = [] ) Synchronize any changes with the History driver.

보호된 메소드들

메소드 설명
_completeSynchronization ( string $prefix, boolean $is_reset ) Perform a complete synchronization.
_updateLog ( string $object, string $bid, boolean $force = false ) Update the history log for an object.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Kolab_Storage_Data $data, array $params )
$data Horde_Kolab_Storage_Data The queriable data.
$params array Additional parameters. - factory: (Horde_Kolab_Storage_Factory) The factory object.

_completeSynchronization() 보호된 메소드

Also marks stale history entries as 'deleted'.
protected _completeSynchronization ( string $prefix, boolean $is_reset )
$prefix string Horde_History prefix
$is_reset boolean Flag to indicate if the UIDVALIDITY changed

_updateLog() 보호된 메소드

Update the history log for an object.
protected _updateLog ( string $object, string $bid, boolean $force = false )
$object string The object ID.
$bid string The backend ID of the object.
$force boolean Force update

setLogger() 공개 메소드

Set the logger
public setLogger ( Horde_Log_Logger $logger = null )
$logger Horde_Log_Logger The logger instance.

synchronize() 공개 메소드

Synchronize any changes with the History driver.
public synchronize ( array $params = [] )
$params array Additional parameters: - changes: (array) An array of arrays keyed by backend id containing information about each change. If not present, triggers a full history sync. - is_reset: (boolean) If true, indicates that UIDVALIDITY changed.

프로퍼티 상세

$_data 보호되어 있는 프로퍼티

The queriable data.
protected Horde_Kolab_Storage_Data $_data
리턴 Horde_Kolab_Storage_Data

$_factory 보호되어 있는 프로퍼티

The Kolab factory.
protected Horde_Kolab_Storage_Factory $_factory
리턴 Horde_Kolab_Storage_Factory

$_history 보호되어 있는 프로퍼티

The history handler.
protected Horde_History $_history
리턴 Horde_History

$_logger 보호되어 있는 프로퍼티

The logger
protected Horde_Log_Logger $_logger
리턴 Horde_Log_Logger