PHP 클래스 Horde_ActiveSync_Driver_MockConnector, horde

저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
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 ( )