PHP Класс Phergie_Event_Response, phergie

Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Event_Abstract
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
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

Описание методов

getCode() публичный Метод

Returns the reply code sent by the server.
public getCode ( ) : string
Результат string

getDescription() публичный Метод

Returns the reply code description sent by the server.
public getDescription ( ) : string
Результат string

getRawData() публичный Метод

Returns the raw buffer that was sent from the server for that event
public getRawData ( ) : string
Результат string

setCode() публичный Метод

Sets the reply code sent by the server.
public setCode ( string $code ) : Phergie_Event_Response
$code string Reply code
Результат Phergie_Event_Response Provides a fluent interface

setDescription() публичный Метод

Sets the reply code description sent by the server.
public setDescription ( string $description ) : Phergie_Event_Response
$description string Reply code description
Результат Phergie_Event_Response Provides a fluent interface

setRawData() публичный Метод

Sets the raw buffer for the given event
public setRawData ( string $buffer ) : Phergie_Event_Response
$buffer string Raw event buffer
Результат Phergie_Event_Response Provides a fluent interface

Описание свойств

$code защищенное свойство

Reply code sent by the server, which can be compared to the ERR_* and RPL_* constants
protected string $code
Результат string

$description защищенное свойство

Reply code description sent by the server.
protected string $description
Результат string

$rawData защищенное свойство

Raw data sent by the server
protected string $rawData
Результат string

$type защищенное свойство

Event type
protected string $type
Результат string