Documentation

Horde_ActiveSync_Connector_Exporter_Base
in package

Horde_ActiveSync_Connector_Exporter_Base:: Base class contains common code for outputing common blocks of WBXML data in server responses.

Tags
license

http://www.horde.org/licenses/gpl GPLv2

copyright

2009-2020 Horde LLC (http://www.horde.org)

author

Michael J Rubinsky mrubinsk@horde.org

Table of Contents

$_as  : Horde_ActiveSync
The ActiveSync server object.
$_changes  : array<string|int, mixed>
Local cache of changes to send.
$_encoder  : Horde_ActiveSync_Wbxml_Encoder
The wbxml encoder
$_procid  : int
Process id for logging.
$_step  : int
Counter of changes sent.
__construct()  : Horde_ActiveSync_Connector_Exporter
Const'r
sendNextChange()  : bool|Horde_Exception
Sends the next change in the set to the client.
setChanges()  : mixed
Set the changes to send to the client.

Properties

$_changes

Local cache of changes to send.

protected array<string|int, mixed> $_changes = array()

$_procid

Process id for logging.

protected int $_procid

$_step

Counter of changes sent.

protected int $_step = 0

Methods

sendNextChange()

Sends the next change in the set to the client.

public abstract sendNextChange() : bool|Horde_Exception
Return values
bool|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.

setChanges()

Set the changes to send to the client.

public setChanges(array<string|int, mixed> $changes[, array<string|int, mixed> $collection = null ]) : mixed
Parameters
$changes : array<string|int, mixed>

The changes array returned from the collection handler.

$collection : array<string|int, mixed> = null

The collection we are currently syncing.

Return values
mixed

Search results