Webdav: ezcWebdavBackend
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWebdavBackend
|
Base interface for all webdav backends serving the actual data. [
source]
The backend is meant to be exxtended by an implementation for your data storage. It enforces the base features required for each backend and should be extended by further indeterfaces for other access methods, like:
Descendents
| Child Class |
Description |
| ezcWebdavSimpleBackend |
This backend provides the generic handling of requests and dispatches the requuired actions to some basic manipulation methods, which you are required to implement.
|
Constants
COMPRESSION_BZIP2
= 2
|
Backend has native support for bzip2 compression. |
COMPRESSION_GZIP
= 1
|
Backend has native support for gzip compression. |
CUSTOM_LOCK
= 4
|
Backend performs locking itself - no handling by server is required. |
MULTIPART
= 16
|
Backend has native support for multipart requests. |
PARTIAL
= 8
|
Backend has native support for partial requests. |
Method Summary
Methods
get
Required method to serve GET requests.
Parameters
Redefined in descendants as
getFeatures
int getFeatures(
)
Return bitmap of additional features supported by the backend referenced by constants from the basic ezcWebdavBackend class.
Redefined in descendants as
head
Required method to serve HEAD requests.
Parameters
Redefined in descendants as
options
Required method to serve OPTIONS requests.
Parameters
performRequest
Performs the given request.
This method takes an instance of
ezcWebdavRequest in $request and dispatches it locally to the correct handling method. A corresponding
ezcWebdavResponse object will be returned. If the given request could not be dispatched, because the backend does not implement the neccessary interface or the request type is unknown, a
ezcWebdavRequestNotSupportedException is thrown.
Parameters
Throws
| Class | Description |
ezcWebdavRequestNotSupportedException |
if the given request object could not be handled by the backend. |
propFind
Required method to serve PROPFIND requests.
Parameters
Redefined in descendants as
propPatch
Required method to serve PROPPATCH requests.
Parameters
Redefined in descendants as
Last updated: Mon, 12 Nov 2007