Horde_Imap_Client_Interaction_Command_Continuation
in package
An object representing a portion of an IMAP command that requires data sent in a continuation response (RFC 3501 [2.2.1]).
Tags
Table of Contents
- $optional : bool
- Is this an optional continuation request?
- $_closure : Closure
- Closure function to run after continuation response.
- __construct() : mixed
- Constructor.
- getCommands() : Horde_Imap_Client_Data_Format_List
- Calls the closure object.
Properties
$optional
Is this an optional continuation request?
public
bool
$optional
= \false
Tags
$_closure
Closure function to run after continuation response.
protected
Closure
$_closure
Methods
__construct()
Constructor.
public
__construct(Closure $closure) : mixed
Parameters
- $closure : Closure
-
A function to run after the continuation response is received. It receives one argument - a Continuation object - and should return a list of arguments to send to the server (via a Horde_Imap_Client_Data_Format_List object).
Return values
mixed —getCommands()
Calls the closure object.
public
getCommands(Horde_Imap_Client_Interaction_Server_Continuation $ob) : Horde_Imap_Client_Data_Format_List
Parameters
- $ob : Horde_Imap_Client_Interaction_Server_Continuation
-
Continuation object.
Return values
Horde_Imap_Client_Data_Format_List —Further commands to issue to the server.