Documentation

Horde_ActiveSync_Driver_MockConnector
in package

Mock connector for testing using the Horde_ActiveSync_Driver_Mock driver.

Tags
license

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

copyright

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

author

Michael J Rubinsky mrubinsk@horde.org

Table of Contents

export()  : Horde_ActiveSync_Message_Base
MUST mock this method if needed so we can return the expected object.
getActionTimestamp()  : mixed
Always returns a MODSEQ of 2. Mock to override.
getChanges()  : mixed
By default, return no changes. Mock this method to override.
listApis()  : mixed
By default, support the main groupware apps, minus mail.
listUids()  : mixed
By default, return 2 UIDs as shown below. Mock this method to override.

Methods

getActionTimestamp()

Always returns a MODSEQ of 2. Mock to override.

public getActionTimestamp(mixed $id, mixed $action) : mixed
Parameters
$id : mixed
$action : mixed
Return values
mixed

getChanges()

By default, return no changes. Mock this method to override.

public getChanges(mixed $folderid, mixed $from_ts, mixed $to_ts) : mixed
Parameters
$folderid : mixed
$from_ts : mixed
$to_ts : mixed
Return values
mixed

listApis()

By default, support the main groupware apps, minus mail.

public listApis() : mixed

Mock this method to override.

Return values
mixed

listUids()

By default, return 2 UIDs as shown below. Mock this method to override.

public listUids() : mixed
Return values
mixed

Search results