PHP 클래스 Horde_Imap_Client_Interaction_Pipeline, horde

부터: 2.10.0
저자: Michael Slusarz ([email protected])
상속: implements Countable, implements IteratorAggregate
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$data array Data storage from server responses.
$fetch Horde_Imap_Client_Fetch_Results Fetch results.

보호된 프로퍼티들

프로퍼티 타입 설명
$_commands array The list of commands.
$_todo array The list of commands to complete.

공개 메소드들

메소드 설명
__construct ( Horde_Imap_Client_Fetch_Results $fetch ) Constructor.
__get ( $name )
add ( Horde_Imap_Client_Interaction_Command $cmd, boolean $top = false ) Add a command to the pipeline.
complete ( Horde_Imap_Client_Interaction_Server_Tagged $resp ) : Horde_Imap_Client_Interaction_Command Mark a command as completed.
count ( )
getCmd ( string $tag ) : Horde_Imap_Client_Interaction_Command Return the command for a given tag.
getIterator ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Imap_Client_Fetch_Results $fetch )
$fetch Horde_Imap_Client_Fetch_Results Fetch results object.

__get() 공개 메소드

public __get ( $name )

add() 공개 메소드

Add a command to the pipeline.
public add ( Horde_Imap_Client_Interaction_Command $cmd, boolean $top = false )
$cmd Horde_Imap_Client_Interaction_Command Command object.
$top boolean Add command to top of queue?

complete() 공개 메소드

Mark a command as completed.
public complete ( Horde_Imap_Client_Interaction_Server_Tagged $resp ) : Horde_Imap_Client_Interaction_Command
$resp Horde_Imap_Client_Interaction_Server_Tagged Tagged server response.
리턴 Horde_Imap_Client_Interaction_Command Command that was completed. Returns null if tagged response is not contained in this pipeline object.

count() 공개 메소드

public count ( )

getCmd() 공개 메소드

Return the command for a given tag.
public getCmd ( string $tag ) : Horde_Imap_Client_Interaction_Command
$tag string The command tag.
리턴 Horde_Imap_Client_Interaction_Command A command object (or null if the tag does not exist).

getIterator() 공개 메소드

public getIterator ( )

프로퍼티 상세

$_commands 보호되어 있는 프로퍼티

The list of commands.
protected array $_commands
리턴 array

$_todo 보호되어 있는 프로퍼티

The list of commands to complete.
protected array $_todo
리턴 array

$data 공개적으로 프로퍼티

Data storage from server responses.
public array $data
리턴 array

$fetch 공개적으로 프로퍼티

Fetch results.
public Horde_Imap_Client_Fetch_Results $fetch
리턴 Horde_Imap_Client_Fetch_Results