PHP Класс Horde_ActiveSync_Folder_Base, horde

Автор: Michael J Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$haveInitialSync boolean Flag for indicating we have an initial sync for this collection.

Защищенные свойства (Protected)

Свойство Тип Описание
$_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