PHP Класс Horde_ActiveSync_Connector_Exporter_Base, horde

Автор: Michael J Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_as Horde_ActiveSync The ActiveSync server object.
$_changes array Local cache of changes to send.
$_encoder Horde_ActiveSync_Wbxml_Encoder The wbxml encoder
$_procid integer Process id for logging.
$_step integer Counter of changes sent.

Открытые методы

Метод Описание
__construct ( Horde_ActiveSync $as, Horde_ActiveSync_Wbxml_Encoder $encoder = null ) : Horde_ActiveSync_Connector_Exporter Const'r
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.

Описание методов

__construct() публичный Метод

Const'r
public __construct ( Horde_ActiveSync $as, Horde_ActiveSync_Wbxml_Encoder $encoder = null ) : Horde_ActiveSync_Connector_Exporter
$as Horde_ActiveSync The ActiveSync server.
$encoder Horde_ActiveSync_Wbxml_Encoder The encoder
Результат Horde_ActiveSync_Connector_Exporter

sendNextChange() абстрактный публичный Метод

Sends the next change in the set to the client.
abstract public sendNextChange ( ) : boolean | Horde_Exception
Результат 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.

setChanges() публичный Метод

Set the changes to send to the client.
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.

Описание свойств

$_as защищенное свойство

The ActiveSync server object.
protected Horde_ActiveSync $_as
Результат Horde_ActiveSync

$_changes защищенное свойство

Local cache of changes to send.
protected array $_changes
Результат array

$_encoder защищенное свойство

The wbxml encoder
protected Horde_ActiveSync_Wbxml_Encoder $_encoder
Результат Horde_ActiveSync_Wbxml_Encoder

$_procid защищенное свойство

Process id for logging.
protected int $_procid
Результат integer

$_step защищенное свойство

Counter of changes sent.
protected int $_step
Результат integer