Apache Zeta Components Manual :: Docs For Class ezcWebdavErrorResponse
Webdav::ezcWebdavErrorResponse
Class ezcWebdavErrorResponse
Class generated by the backend to indicate an error
If a ezcWebdavBackend produces an error, it will return an instance of this class, which might also be encapsulated in an ezcWebdavMultistatusResponse.
Source for this file: /Webdav/src/responses/error.php
ezcWebdavInfrastructureBase | --ezcWebdavResponse | --ezcWebdavErrorResponse
Version: | //autogentag// |
Inherited Constants
Properties
string|null | read/write |
$requestUri
Path refering to the resource that produced the error. |
string|null | read/write |
$responseDescription
Details about the error. |
Inherited Member Variables
From ezcWebdavResponse | |
---|---|
public |
ezcWebdavResponse::$errorNames
|
protected |
ezcWebdavResponse::$headers
|
protected |
ezcWebdavResponse::$properties
|
From ezcWebdavInfrastructureBase | |
protected |
ezcWebdavInfrastructureBase::$pluginData
|
Method Summary
public void |
__construct(
$status
, [ $requestUri
= null] , [ $desc
= null] )
Creates a new response object. |
Inherited Methods
From ezcWebdavResponse | |
---|---|
public void |
ezcWebdavResponse::__construct()
Construct error response from status. |
public mixed |
ezcWebdavResponse::getHeader()
Returns the contents of a specific header. |
public array(string=>string) |
ezcWebdavResponse::getHeaders()
Returns all headers. |
public void |
ezcWebdavResponse::setHeader()
Sets a header to a specified value. |
public void |
ezcWebdavResponse::validateHeaders()
Validates the headers set in this response. |
public string |
ezcWebdavResponse::__toString()
Return valid HTTP response string from error code. |
From ezcWebdavInfrastructureBase | |
public mixed |
ezcWebdavInfrastructureBase::getPluginData()
Retrieves plugin data from the storage. |
public bool |
ezcWebdavInfrastructureBase::hasPluginData()
Returns if plugin data is available in the storage. |
public void |
ezcWebdavInfrastructureBase::removePluginData()
Removes plugin data from the storage. |
public void |
ezcWebdavInfrastructureBase::setPluginData()
Sets plugin data in the storage. |
Methods
__construct
void
__construct(
int
$status
, [string
$requestUri
= null] , [string
$desc
= null] )
Creates a new response object.
Creates a new error response, with the given $status code, which refers to the resource identified by $requestUri. Further details about the error may be provided in $desc.
Parameters:
Name | Type | Description |
---|---|---|
$status |
int | |
$requestUri |
string | |
$desc |
string |
Redefinition of:
Method | Description |
---|---|
ezcWebdavResponse::__construct() |
Construct error response from status. |
Documentation generated by phpDocumentor 1.4.3