PHP Interface Horde_Kolab_Storage_Folder_Stamp, 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.
Inheritance: extends Serializable
Mostra file Open project: horde/horde Interface Usage Examples

Public Methods

Method Description
getChanges ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : array | boolean 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.

Method Details

getChanges() public method

What changed between this old stamp and the new provided stamp?
public getChanges ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : array | boolean
$stamp Horde_Kolab_Storage_Folder_Stamp
return array | boolean False if there was no change, an array of two elements (added IDs, deleted IDs) otherwise.

getToken() public method

Return the sync token.
public getToken ( ) : string | boolen
return string | boolen The token provided by the IMAP client, or false if unavailable.

ids() public method

Return the backend object IDs in the folder.
public ids ( ) : array
return array The list of backend IDs.

isReset() public method

Indicate if there was a complete folder reset.
public isReset ( Horde_Kolab_Storage_Folder_Stamp $stamp ) : boolean
$stamp Horde_Kolab_Storage_Folder_Stamp
return boolean True if there was a complete folder reset stamps are different, false if not.