Zend Framework
1.12
|
Public Member Functions | |
__construct ($status=null, $errorCode=null, Zend_Http_Response $httpResponse=null) | |
Class constructor used to construct a response. | |
setStatus ($status) | |
Set the status. | |
getStatus () | |
Get the status. | |
isValid () | |
Alias for getStatus() | |
setErrorCode ($errorCode) | |
Set the error code. | |
getErrorCode () | |
Get the error code. | |
setFromHttpResponse (Zend_Http_Response $response) | |
Populate this instance based on a Zend_Http_Response object. | |
Protected Attributes | |
$_status = null | |
$_errorCode = null | |
__construct | ( | $status = null , |
|
$errorCode = null , |
|||
Zend_Http_Response | $httpResponse = null |
||
) |
Class constructor used to construct a response.
string | $status | |
string | $errorCode | |
Zend_Http_Response | $httpResponse | If this is set the content will override $status and $errorCode |
getErrorCode | ( | ) |
Get the error code.
getStatus | ( | ) |
Get the status.
isValid | ( | ) |
Alias for getStatus()
setErrorCode | ( | $errorCode | ) |
setFromHttpResponse | ( | Zend_Http_Response | $response | ) |
Populate this instance based on a Zend_Http_Response object.
Zend_Http_Response | $response |
setStatus | ( | $status | ) |
|
protected |
|
protected |