Apache Zeta Components - high quality PHP components

Apache Zeta Components Manual :: Docs For Class ezcWebdavGetResourceResponse

Webdav::ezcWebdavGetResourceResponse

Class ezcWebdavGetResourceResponse

Class generated by the backend to respond to GET requests on a resource.

If a ezcWebdavBackend receives an instance of ezcWebdavGetRequest it might react with an instance of ezcWebdavGetResourceResponse for non-collection resources or ezcWebdavGetCollectionResponse for collection resources or by producing an error.

Source for this file: /Webdav/src/responses/get_resource.php

ezcWebdavInfrastructureBase
   |
   --ezcWebdavResponse
      |
      --ezcWebdavGetResourceResponse
Version:   //autogentag//

Inherited Constants

From ezcWebdavResponse:
ezcWebdavResponse::STATUS_100
ezcWebdavResponse::STATUS_101
ezcWebdavResponse::STATUS_200
ezcWebdavResponse::STATUS_201
ezcWebdavResponse::STATUS_202
ezcWebdavResponse::STATUS_203
ezcWebdavResponse::STATUS_204
ezcWebdavResponse::STATUS_205
ezcWebdavResponse::STATUS_206
ezcWebdavResponse::STATUS_207
ezcWebdavResponse::STATUS_300
ezcWebdavResponse::STATUS_301
ezcWebdavResponse::STATUS_302
ezcWebdavResponse::STATUS_303
ezcWebdavResponse::STATUS_304
ezcWebdavResponse::STATUS_305
ezcWebdavResponse::STATUS_400
ezcWebdavResponse::STATUS_401
ezcWebdavResponse::STATUS_402
ezcWebdavResponse::STATUS_403
ezcWebdavResponse::STATUS_404
ezcWebdavResponse::STATUS_405
ezcWebdavResponse::STATUS_406
ezcWebdavResponse::STATUS_407
ezcWebdavResponse::STATUS_408
ezcWebdavResponse::STATUS_409
ezcWebdavResponse::STATUS_410
ezcWebdavResponse::STATUS_411
ezcWebdavResponse::STATUS_412
ezcWebdavResponse::STATUS_413
ezcWebdavResponse::STATUS_414
ezcWebdavResponse::STATUS_415
ezcWebdavResponse::STATUS_423
ezcWebdavResponse::STATUS_424
ezcWebdavResponse::STATUS_500
ezcWebdavResponse::STATUS_501
ezcWebdavResponse::STATUS_502
ezcWebdavResponse::STATUS_503
ezcWebdavResponse::STATUS_504
ezcWebdavResponse::STATUS_505
ezcWebdavResponse::STATUS_507

Properties

string read/write $resource
The path of the requested resource.

Inherited Member Variables

From ezcWebdavResponse
public ezcWebdavResponse::$errorNames
protected ezcWebdavResponse::$headers
protected ezcWebdavResponse::$properties
From ezcWebdavInfrastructureBase
protected ezcWebdavInfrastructureBase::$pluginData

Method Summary

public void __construct( $resource )
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( ezcWebdavResource $resource )

Creates a new response object.

Creates a new repsonse for the given $resource.

Parameters:
Name Type Description
$resource ezcWebdavResource
Redefinition of:
Method Description
ezcWebdavResponse::__construct() Construct error response from status.
Documentation generated by phpDocumentor 1.4.3