XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (Swift_Transport $source, $command, $successCodes=array()) | |
getCommand () | |
getSuccessCodes () | |
Public Member Functions inherited from Swift_Events_EventObject | |
__construct ($source) | |
bubbleCancelled () | |
cancelBubble ($cancel=true) | |
getSource () | |
Private Attributes | |
$_command | |
$_successCodes = array() | |
Definition at line 20 of file CommandEvent.php.
Swift_Events_CommandEvent::__construct | ( | Swift_Transport | $source, |
$command, | |||
$successCodes = array() |
|||
) |
Create a new CommandEvent for $source with $command.
Swift_Transport | $source | |
string | $command | |
array | $successCodes |
Definition at line 41 of file CommandEvent.php.
References __construct().
Swift_Events_CommandEvent::getCommand | ( | ) |
Get the command which was sent to the server.
Definition at line 53 of file CommandEvent.php.
References $_command.
Referenced by Swift_Plugins_BandwidthMonitorPlugin\commandSent(), and Swift_Plugins_LoggerPlugin\commandSent().
Swift_Events_CommandEvent::getSuccessCodes | ( | ) |
Get the numeric response codes which indicate success for this command.
Definition at line 62 of file CommandEvent.php.
References $_successCodes.
|
private |
Definition at line 27 of file CommandEvent.php.
Referenced by getCommand().
|
private |
Definition at line 33 of file CommandEvent.php.
Referenced by getSuccessCodes().