XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Events_ResponseEvent Class Reference
Inheritance diagram for Swift_Events_ResponseEvent:
Inheritance graph

Public Member Functions

 __construct (Swift_Transport $source, $response, $valid=false)
 
 getResponse ()
 
 isValid ()
 
- Public Member Functions inherited from Swift_Events_EventObject
 __construct ($source)
 
 bubbleCancelled ()
 
 cancelBubble ($cancel=true)
 
 getSource ()
 

Private Attributes

 $_response
 
 $_valid
 

Detailed Description

Definition at line 19 of file ResponseEvent.php.

Constructor & Destructor Documentation

Swift_Events_ResponseEvent::__construct ( Swift_Transport  $source,
  $response,
  $valid = false 
)

Create a new ResponseEvent for $source and $response.

Parameters
Swift_Transport$source
string$response
boolean$valid

Definition at line 40 of file ResponseEvent.php.

References __construct().

Here is the call graph for this function:

Member Function Documentation

Swift_Events_ResponseEvent::getResponse ( )

Get the response which was received from the server.

Returns
string

Definition at line 51 of file ResponseEvent.php.

References $_response.

Referenced by Swift_Plugins_BandwidthMonitorPlugin\responseReceived(), and Swift_Plugins_LoggerPlugin\responseReceived().

Here is the caller graph for this function:

Swift_Events_ResponseEvent::isValid ( )

Get the success status of this Event.

Returns
boolean

Definition at line 60 of file ResponseEvent.php.

References $_valid.

Member Data Documentation

Swift_Events_ResponseEvent::$_response
private

Definition at line 32 of file ResponseEvent.php.

Referenced by getResponse().

Swift_Events_ResponseEvent::$_valid
private

Definition at line 26 of file ResponseEvent.php.

Referenced by isValid().


The documentation for this class was generated from the following file: