Apache Zeta Components Manual :: Docs For Class ezcWebdavMultistatusResponse
Webdav::ezcWebdavMultistatusResponse
Class ezcWebdavMultistatusResponse
Class generated by the backend to indicate multiple responses at once.
If a ezcWebdavBackend needs to indicate multiple stati at once (like multiple errors or a mixture of success messages and error) an instance of ezcWebdavMultiStatusRequest is generated.
Source for this file: /Webdav/src/responses/multistatus.php
ezcWebdavInfrastructureBase | --ezcWebdavResponse | --ezcWebdavMultistatusResponse
Version: | //autogentag// |
Inherited Constants
Inherited Member Variables
From ezcWebdavResponse | |
---|---|
public |
ezcWebdavResponse::$errorNames
|
protected |
ezcWebdavResponse::$headers
|
protected |
ezcWebdavResponse::$properties
|
From ezcWebdavInfrastructureBase | |
protected |
ezcWebdavInfrastructureBase::$pluginData
|
Method Summary
public void |
__construct(
)
Creates a new response object. |
public void |
validateHeaders(
)
Validates the headers set in this response. |
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
Creates a new response object.
Any number of ezcWebdavResponse objects may be passed as parameters to the constructer.
Redefinition of:
Method | Description |
---|---|
ezcWebdavResponse::__construct() |
Construct error response from status. |
validateHeaders
Validates the headers set in this response.
This method is called by ezcWebdavServer after the response object has been created by an ezcWebdavBackend. It validates all headers, specific to this response, for existance of required headers and validity of all headers used. The call of the parent method is *mandatory* to have common WebDAV and HTTP headers validated, too.
Exceptions:
Type | Description |
---|---|
ezcWebdavInvalidHeaderException |
if a header is present, but its content does not validate. |
ezcWebdavMissingHeaderException |
if a required header is missing. |
Redefinition of:
Method | Description |
---|---|
ezcWebdavResponse::validateHeaders() |
Validates the headers set in this response. |