PHP Класс Horde_Kolab_Storage_Folder_Stamp_Uids, horde

Copyright 2011-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])
Наследование: implements Horde_Kolab_Storage_Folder_Stamp
Показать файл Открыть проект

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

Свойство Тип Описание
$_ids array The list of backend object IDs.
$_status array The folder status.

Открытые методы

Метод Описание
__construct ( array $status, array $ids ) Constructor.
__toString ( ) : string Convert the instance into a string.
getChanges ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : array What changed between this old stamp and the new provided stamp?
getToken ( ) : string | boolen Return the sync token.
ids ( ) : array Return the backend object IDs in the folder.
isReset ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : boolean Indicate if there was a complete folder reset.
serialize ( ) : string Serialize this object.
uidnext ( ) : string Return the folder next UID number.
uidvalidity ( ) : string Return the folder UID validity.
unserialize ( string $data ) Reconstruct the object from serialized data.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( array $status, array $ids )
$status array The folder status.
$ids array The list of undeleted objects in the folder.

__toString() публичный Метод

Convert the instance into a string.
public __toString ( ) : string
Результат string The string representation for this instance.

getChanges() публичный Метод

What changed between this old stamp and the new provided stamp?
public getChanges ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : array
$stamp Horde_Kolab_Storage_Folder_Stamp The new stamp to compare against.
Результат array An array of two elements (added IDs, deleted IDs).

getToken() публичный Метод

Return the sync token.
public getToken ( ) : string | boolen
Результат string | boolen The token provided by the IMAP client, or false if unavailable.

ids() публичный Метод

Return the backend object IDs in the folder.
public ids ( ) : array
Результат array The list of backend IDs.

isReset() публичный Метод

Indicate if there was a complete folder reset.
public isReset ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : boolean
$stamp Horde_Kolab_Storage_Folder_Stamp
Результат boolean True if there was a complete folder reset stamps are different, false if not.

serialize() публичный Метод

Serialize this object.
public serialize ( ) : string
Результат string The serialized data.

uidnext() публичный Метод

Return the folder next UID number.
public uidnext ( ) : string
Результат string The next UID number.

uidvalidity() публичный Метод

Return the folder UID validity.
public uidvalidity ( ) : string
Результат string The folder UID validity marker.

unserialize() публичный Метод

Reconstruct the object from serialized data.
public unserialize ( string $data )
$data string The serialized data.

Описание свойств

$_ids защищенное свойство

The list of backend object IDs.
protected array $_ids
Результат array

$_status защищенное свойство

The folder status.
protected array $_status
Результат array