PHP Class Phergie_Event_Response, phergie

Inheritance: extends Phergie_Event_Abstract
显示文件 Open project: phergie/phergie Class Usage Examples

Protected Properties

Property Type Description
$code string Reply code sent by the server, which can be compared to the ERR_* and RPL_* constants
$description string Reply code description sent by the server.
$rawData string Raw data sent by the server
$type string Event type

Public Methods

Method Description
getCode ( ) : string Returns the reply code sent by the server.
getDescription ( ) : string Returns the reply code description sent by the server.
getRawData ( ) : string Returns the raw buffer that was sent from the server for that event
setCode ( string $code ) : Phergie_Event_Response Sets the reply code sent by the server.
setDescription ( string $description ) : Phergie_Event_Response Sets the reply code description sent by the server.
setRawData ( string $buffer ) : Phergie_Event_Response Sets the raw buffer for the given event

Method Details

getCode() public method

Returns the reply code sent by the server.
public getCode ( ) : string
return string

getDescription() public method

Returns the reply code description sent by the server.
public getDescription ( ) : string
return string

getRawData() public method

Returns the raw buffer that was sent from the server for that event
public getRawData ( ) : string
return string

setCode() public method

Sets the reply code sent by the server.
public setCode ( string $code ) : Phergie_Event_Response
$code string Reply code
return Phergie_Event_Response Provides a fluent interface

setDescription() public method

Sets the reply code description sent by the server.
public setDescription ( string $description ) : Phergie_Event_Response
$description string Reply code description
return Phergie_Event_Response Provides a fluent interface

setRawData() public method

Sets the raw buffer for the given event
public setRawData ( string $buffer ) : Phergie_Event_Response
$buffer string Raw event buffer
return Phergie_Event_Response Provides a fluent interface

Property Details

$code protected_oe property

Reply code sent by the server, which can be compared to the ERR_* and RPL_* constants
protected string $code
return string

$description protected_oe property

Reply code description sent by the server.
protected string $description
return string

$rawData protected_oe property

Raw data sent by the server
protected string $rawData
return string

$type protected_oe property

Event type
protected string $type
return string