Class Horde_SyncMl_Sync
Copyright 2003-2012 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.
public
|
#
__construct( string $syncType, string $serverURI, string $clientURI, integer $serverAnchorLast, integer $serverAnchorNext, string $clientAnchorNext )
|
public
|
#
handleClientSyncItem( mixed & $output,
Here's where the actual processing of a client-sent Sync Item takes place. Entries are added, deleted or replaced from the server database by using backend API calls. |
public
|
|
public
|
#
handleFinal( mixed & $output, mixed $debug = false )
Notifies the sync that a final has been received by the client. |
public
|
#
hasPendingElements( )
Returns true if there are still outstanding server sync items to be sent to the client. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
getServerChange( string $change, string $id )
Returns the client ID of server change identified by the change type and server ID. |
public
|
#
setServerChange( string $change, string $sid, string $cid )
Sets the client ID of server change identified by the change type and server ID. |
public
|
#
unsetServerChange( string $change, string $id )
Unsets the server-client-map of server change identified by the change type and server ID. |
integer |
STATE_INIT
|
#
0
|
integer |
STATE_SYNC
|
#
1
|
integer |
STATE_MAP
|
#
2
|
integer |
STATE_COMPLETED
|
#
3
|