Class Swift_Events_ResponseEvent

Description

Generated when Swift receives a server response

Located in /Swift/Events/ResponseEvent.php (line 17)

Swift_Events
   |
   --Swift_Events_ResponseEvent
Variable Summary
int $code
string $string
Method Summary
Swift_Events_ResponseEvent __construct (string $string)
int getCode ()
string getString ()
void setCode (int $code)
void setString (string $string)
Variables
int $code = null (line 28)

Contains the response code

  • access: protected
string $string = null (line 23)

Contains the response received

  • access: protected

Inherited Variables

Inherited from Swift_Events

Swift_Events::$swift
Methods
Constructor __construct (line 34)

Constructor

  • access: public
Swift_Events_ResponseEvent __construct (string $string)
  • string $string: The received response
getCode (line 67)

Get the response code

  • access: public
int getCode ()
getString (line 51)

Get the received response

  • access: public
string getString ()
setCode (line 59)

Set response code

  • access: public
void setCode (int $code)
  • int $code: The response code
setString (line 43)

Set the response received

  • access: public
void setString (string $string)
  • string $string: The response

Inherited Methods

Inherited From Swift_Events

Swift_Events::getSwift()
Swift_Events::setSwift()

Documentation generated on Wed, 26 Mar 2008 20:33:10 +1100 by phpDocumentor 1.3.1