Property | Type | Description | |
---|---|---|---|
$_currentCollection | array | Currently syncing collection. | |
$_seenObjects | array | Local cache of object ids we have already dealt with. |
Method | Description | |
---|---|---|
fetchIds ( $driver, array $collection ) | Send the SYNC_FETCH response for any items requested by the client. | |
messageChange ( string $id, Horde_ActiveSync_Message_Base $message ) | Send a message change over the wbxml stream | |
messageDeletion ( string $id, boolean $soft = false ) | Stream a message deletion to the client. | |
messageMove ( Horde_ActiveSync_Message_Base $message ) | Move a message to a different folder. | |
missingRemove ( array $collection ) | Send the SYNC_REMOVE response for any items deleted from the client but were unable to be removed on the server. Usually due to not being found. | |
modifyFailures ( array $collection ) | Send the SYNC_MODIFY response for any items modified from the client that require this response. Basically any items that have AirSyncBaseAttachments changes. | |
sendNextChange ( ) : boolean | Horde_Exception | Sends the next change in the set to the client. | |
setChanges ( array $changes, array $collection = null ) | Set the changes to send to the client. | |
syncAddResponse ( array $collection ) | Send the SYNC_ADD response for any items added from the client. | |
syncFolderId ( array $collection ) | Send the SYNC_FOLDERID value. | |
syncFolderType ( array $collection ) | Send the SYNC_FOLDERTYPE node if needed. | |
syncKey ( array $collection ) | Send the SYNC_SYNCKEY response appropriate for this response. | |
syncModifiedResponse ( array $collection ) | Send the SYNC_MODIFY response for each modified item that requires this response. | |
syncStatus ( $statusCode ) | Send the SYNC_STATUS value. |
Method | Description | |
---|---|---|
_getNextChange ( ) | ||
_sendEas16MessageResponse ( string $serverid, array $collection ) | Sends the appropriate message object reply within a SYNC_ADD or SYNC_MODIFY block in a SYNC_REPLIES block for EAS >= 16 clients. | |
_sendNextChange ( ) | Sends the next message change to the client. |
protected _sendEas16MessageResponse ( string $serverid, array $collection ) | ||
$serverid | string | The serverid of the message being sent. |
$collection | array | The collection array. |
protected _sendNextChange ( ) |
public messageChange ( string $id, Horde_ActiveSync_Message_Base $message ) | ||
$id | string | The uid of the message |
$message | Horde_ActiveSync_Message_Base | The message object |
public messageDeletion ( string $id, boolean $soft = false ) | ||
$id | string | The uid of the message we are deleting. |
$soft | boolean | If true, send a SOFTDELETE, otherwise a REMOVE. |
public messageMove ( Horde_ActiveSync_Message_Base $message ) | ||
$message | Horde_ActiveSync_Message_Base | The message |
public missingRemove ( array $collection ) | ||
$collection | array | The collection array. |
public modifyFailures ( array $collection ) | ||
$collection | array | The collection array. |
public sendNextChange ( ) : boolean | Horde_Exception | ||
return | boolean | Horde_Exception | True if more changes can be sent false if all changes were sent, Horde_Exception if there was an error sending an item. |
public setChanges ( array $changes, array $collection = null ) | ||
$changes | array | The changes array returned from the collection handler. |
$collection | array | The collection we are currently syncing. |
public syncAddResponse ( array $collection ) | ||
$collection | array | The collection array. |
public syncFolderId ( array $collection ) | ||
$collection | array | The collection array. |
public syncFolderType ( array $collection ) | ||
$collection | array | The collection array. |
public syncModifiedResponse ( array $collection ) | ||
$collection | array | The collection array. |
protected array $_currentCollection | ||
return | array |
protected array $_seenObjects | ||
return | array |