PHP Class Horde_Imap_Client_Interaction_Pipeline, horde

Since: 2.10.0
Author: Michael Slusarz ([email protected])
Inheritance: implements Countable, implements IteratorAggregate
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$data array Data storage from server responses.
$fetch Horde_Imap_Client_Fetch_Results Fetch results.

Protected Properties

Свойство Type Description
$_commands array The list of commands.
$_todo array The list of commands to complete.

Méthodes publiques

Méthode Description
__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 ( )

Method Details

__construct() public méthode

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

__get() public méthode

public __get ( $name )

add() public méthode

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() public méthode

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.
Résultat Horde_Imap_Client_Interaction_Command Command that was completed. Returns null if tagged response is not contained in this pipeline object.

count() public méthode

public count ( )

getCmd() public méthode

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

getIterator() public méthode

public getIterator ( )

Property Details

$_commands protected_oe property

The list of commands.
protected array $_commands
Résultat array

$_todo protected_oe property

The list of commands to complete.
protected array $_todo
Résultat array

$data public_oe property

Data storage from server responses.
public array $data
Résultat array

$fetch public_oe property

Fetch results.
public Horde_Imap_Client_Fetch_Results $fetch
Résultat Horde_Imap_Client_Fetch_Results