PHP 클래스 Horde_ActiveSync_Folder_Base, horde

저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$haveInitialSync boolean Flag for indicating we have an initial sync for this collection.

보호된 프로퍼티들

프로퍼티 타입 설명
$_class string The collection class.
$_lastSinceDate integer Timestamp for the last sincedate used for SOFTDELETE.
$_serverid string The backend server id for this folder.
$_softDelete integer Timestamp for the last time we performed a SOFTDELETE
$_status array The folder's current internal property state.

공개 메소드들

메소드 설명
__construct ( string $serverid, string $class, array $status = [] ) Const'r
collectionClass ( ) : string Return the collection class for this collection.
getSoftDeleteTimes ( ) : array Return the softdelete timestamps.
serverid ( ) : string Return the serverid for this collection.
setServerId ( string $id ) Set a new value for the serverid.
setSoftDeleteTimes ( long $sincedate, long $ts ) Set the last softdelete timestamps used.
setStatus ( array $status ) Set the status for this collection.
updateState ( ) Updates the internal UID cache, and clears the internal update/deleted/changed cache.

메소드 상세

__construct() 공개 메소드

Const'r
public __construct ( string $serverid, string $class, array $status = [] )
$serverid string The backend serverid of this folder.
$class string The collection class.
$status array Internal folder state.

collectionClass() 공개 메소드

Return the collection class for this collection.
public collectionClass ( ) : string
리턴 string The collection class.

getSoftDeleteTimes() 공개 메소드

Return the softdelete timestamps.
public getSoftDeleteTimes ( ) : array
리턴 array An array with the last sincedate in the 0 element and the last timestamp in the 1 element.

serverid() 공개 메소드

Return the serverid for this collection.
public serverid ( ) : string
리턴 string The serverid.

setServerId() 공개 메소드

Set a new value for the serverid.
부터: 2.4.0
public setServerId ( string $id )
$id string The new id.

setSoftDeleteTimes() 공개 메소드

Set the last softdelete timestamps used.
public setSoftDeleteTimes ( long $sincedate, long $ts )
$sincedate long The sincedate used in the last softdelete check.
$ts long Time the softdelete check was performed.

setStatus() 공개 메소드

Set the status for this collection.
public setStatus ( array $status )
$status array

updateState() 추상적인 공개 메소드

Updates the internal UID cache, and clears the internal update/deleted/changed cache.
abstract public updateState ( )

프로퍼티 상세

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

The collection class.
protected string $_class
리턴 string

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

Timestamp for the last sincedate used for SOFTDELETE.
protected int $_lastSinceDate
리턴 integer

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

The backend server id for this folder.
protected string $_serverid
리턴 string

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

Timestamp for the last time we performed a SOFTDELETE
protected int $_softDelete
리턴 integer

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

The folder's current internal property state.
protected array $_status
리턴 array

$haveInitialSync 공개적으로 프로퍼티

Flag for indicating we have an initial sync for this collection.
public bool $haveInitialSync
리턴 boolean