Свойство | Type | Description | |
---|---|---|---|
$haveInitialSync | boolean | Flag for indicating we have an initial sync for this collection. |
Свойство | Type | Description | |
---|---|---|---|
$_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. |
Méthode | Description | |
---|---|---|
__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. |
public collectionClass ( ) : string | ||
Résultat | string | The collection class. |
public getSoftDeleteTimes ( ) : array | ||
Résultat | array | An array with the last sincedate in the 0 element and the last timestamp in the 1 element. |
public setServerId ( string $id ) | ||
$id | string | The new id. |
public setSoftDeleteTimes ( long $sincedate, long $ts ) | ||
$sincedate | long | The sincedate used in the last softdelete check. |
$ts | long | Time the softdelete check was performed. |
abstract public updateState ( ) |
protected int $_lastSinceDate | ||
Résultat | integer |
protected string $_serverid | ||
Résultat | string |
protected int $_softDelete | ||
Résultat | integer |
protected array $_status | ||
Résultat | array |
public bool $haveInitialSync | ||
Résultat | boolean |