Webdav: ezcWebdavCopyRequest
[ ]
[ Clients ] [ Plugin architecture ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWebdavCopyRequest
|
Abstract representation of a COPY request. [
source]
An instance of this class represents the WebDAV COPY request.
Required headers for this request are:
Optional headers for this request are:
- Overwrite (default: 'T')
- Depth (default: ezcWebdavRequest::DEPTH_ZERO)
Parents
ezcWebdavRequest
|
--ezcWebdavCopyRequest
Inherited Constants
From
ezcWebdavRequest:
Properties
Inherited Member Variables
From
ezcWebdavRequest:
Method Summary
|
public void |
__construct(
$requestUri, $destination )
Creates a new COPY request object. |
|
public void |
validateHeaders(
)
Validates the headers set in this request. |
Inherited Methods
From
ezcWebdavRequest :
Methods
__construct
void __construct(
string
$requestUri, string
$destination )
Creates a new COPY request object.
Expected are the $requestUri, which references the source to copy, and the $destination, which is the URI referencing the destination resource to copy to.
Parameters
| Name |
Type |
Description |
$requestUri |
string |
|
$destination |
string |
|
Redefinition of
validateHeaders
void validateHeaders(
)
Validates the headers set in this request.
This method validates that all required headers are available and that all feasible headers for this request have valid values.
Throws
| Class | Description |
ezcWebdavMissingHeaderException |
if a required header is missing. |
ezcWebdavInvalidHeaderException |
if a header is present, but its content does not validate. |
Redefinition of
Last updated: Mon, 29 Jun 2009