PHP Class Horde_ActiveSync_Connector_Exporter_FolderSync, horde

Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_ActiveSync_Connector_Exporter_Base
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$changed array Used when exporting folder structure changes since they are not streamed from this object.
$count integer Tracks the total number of folder changes
$deleted array Array of folder ids that have been deleted on the server.

Public Methods

Method Description
folderChange ( Horde_ActiveSync_Message_Folder $folder ) Add a folder change to the cache (used during FolderSync requests).
folderDeletion ( string $id ) Add a folder deletion to the cache (used during FolderSync Requests).
sendNextChange ( ) : boolean | Horde_Exception Sends the next change in the set to the client.

Protected Methods

Method Description
_sendNextFolderSyncChange ( ) Sends the next folder change to the client.

Method Details

_sendNextFolderSyncChange() protected method

Sends the next folder change to the client.

folderChange() public method

Add a folder change to the cache (used during FolderSync requests).
public folderChange ( Horde_ActiveSync_Message_Folder $folder )
$folder Horde_ActiveSync_Message_Folder

folderDeletion() public method

Add a folder deletion to the cache (used during FolderSync Requests).
public folderDeletion ( string $id )
$id string The folder id

sendNextChange() public method

Sends the next change in the set to the client.
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.

Property Details

$changed public_oe property

Used when exporting folder structure changes since they are not streamed from this object.
public array $changed
return array

$count public_oe property

Tracks the total number of folder changes
public int $count
return integer

$deleted public_oe property

Array of folder ids that have been deleted on the server.
public array $deleted
return array