PHP Class Phergie_Event_Response, phergie

Inheritance: extends Phergie_Event_Abstract
Afficher le fichier Open project: phergie/phergie Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

Returns the reply code sent by the server.
public getCode ( ) : string
Résultat string

getDescription() public méthode

Returns the reply code description sent by the server.
public getDescription ( ) : string
Résultat string

getRawData() public méthode

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

setCode() public méthode

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

setDescription() public méthode

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

setRawData() public méthode

Sets the raw buffer for the given event
public setRawData ( string $buffer ) : Phergie_Event_Response
$buffer string Raw event buffer
Résultat 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
Résultat string

$description protected_oe property

Reply code description sent by the server.
protected string $description
Résultat string

$rawData protected_oe property

Raw data sent by the server
protected string $rawData
Résultat string

$type protected_oe property

Event type
protected string $type
Résultat string