PHP Класс Horde_ActiveSync_Driver_MockConnector, horde

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

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

Метод Описание
export ( $id, $options ) : Horde_ActiveSync_Message_Base MUST mock this method if needed so we can return the expected object.
getActionTimestamp ( $id, $action ) Always returns a MODSEQ of 2. Mock to override.
getChanges ( $folderid, $from_ts, $to_ts ) By default, return no changes. Mock this method to override.
listApis ( ) By default, support the main groupware apps, minus mail.
listUids ( ) By default, return 2 UIDs as shown below. Mock this method to override.

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

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

MUST mock this method if needed so we can return the expected object.
public export ( $id, $options ) : Horde_ActiveSync_Message_Base
Результат Horde_ActiveSync_Message_Base

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

Always returns a MODSEQ of 2. Mock to override.
public getActionTimestamp ( $id, $action )

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

By default, return no changes. Mock this method to override.
public getChanges ( $folderid, $from_ts, $to_ts )

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

Mock this method to override.
public listApis ( )

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

By default, return 2 UIDs as shown below. Mock this method to override.
public listUids ( )