Abstract representation of a MKCOL request.
An instance of this class represents the WebDAV MKCOL request.
Source for this file: /Webdav/src/requests/mkcol.php
ezcWebdavRequest | --ezcWebdavMakeCollectionRequest
Version: | //autogentag// |
From ezcWebdavRequest: | |
---|---|
ezcWebdavRequest::DEPTH_INFINITY
|
|
ezcWebdavRequest::DEPTH_ONE
|
|
ezcWebdavRequest::DEPTH_ZERO
|
Constants for the 'Depth' headers and property fields. |
string | read/write |
$body
The request body of a MKCOL request. |
From ezcWebdavRequest | |
---|---|
protected |
ezcWebdavRequest::$headers
|
protected |
ezcWebdavRequest::$properties
|
public void |
__construct(
$requestUri
, [ $body
= null] )
Creates a new MKCOL request object. |
From ezcWebdavRequest | |
---|---|
public void |
ezcWebdavRequest::__construct()
Creates a new request object. |
public mixed |
ezcWebdavRequest::getHeader()
Returns the contents of a specific header. |
public void |
ezcWebdavRequest::setHeader()
Sets a header to a specified value. |
public void |
ezcWebdavRequest::setHeaders()
Sets a header to a specified value. |
public void |
ezcWebdavRequest::validateHeaders()
Validates the headers set in this request. |
Creates a new MKCOL request object.
The request contains of the $requestUri which indicates where a collection should be created and an optional request $body.
Name | Type | Description |
---|---|---|
$requestUri |
string | |
$body |
string |
Method | Description |
---|---|
ezcWebdavRequest::__construct() |
Creates a new request object. |