eZ Publish  [trunk]
eZWebDAVFileServer Class Reference

A simple file based WebDAV server. More...

+ Inheritance diagram for eZWebDAVFileServer:
+ Collaboration diagram for eZWebDAVFileServer:

List of all members.

Public Member Functions

 copy ($source, $destination)
 delete ($target)
 eZWebDAVFileServer ()
 get ($target)
 getCollectionContent ($dir, $depth=false, $properties=false)
 head ($target)
 mkcol ($target)
 move ($source, $destination)
 put ($target, $tempFile)

Detailed Description

A simple file based WebDAV server.

Enables local file administration/management through the WebDAV interface.

Usage:

  $myserver = new eZWebDAVFileServer();
  $myserver->processClientRequest();

Definition at line 218 of file ezwebdavfileserver.php.


Member Function Documentation

eZWebDAVFileServer::copy ( source,
destination 
)

Copies the file or directory $source to $destination.

Reimplemented from eZWebDAVServer.

Definition at line 400 of file ezwebdavfileserver.php.

Removes the directory or file $target

Reimplemented from eZWebDAVServer.

Definition at line 328 of file ezwebdavfileserver.php.

eZWebDAVFileServer::get ( target)
Returns:
An information structure with the filename.

Reimplemented from eZWebDAVServer.

Definition at line 276 of file ezwebdavfileserver.php.

eZWebDAVFileServer::getCollectionContent ( dir,
depth = false,
properties = false 
)

Finds all files and directories in the directory $dir and return an element list of it.

Reimplemented from eZWebDAVServer.

Definition at line 427 of file ezwebdavfileserver.php.

eZWebDAVFileServer::head ( target)

Returns if the file $target exists or not

Reimplemented from eZWebDAVServer.

Definition at line 228 of file ezwebdavfileserver.php.

Creates the directory $target

Reimplemented from eZWebDAVServer.

Definition at line 293 of file ezwebdavfileserver.php.

eZWebDAVFileServer::move ( source,
destination 
)

Moves the file or directory $source to $destination by trying to rename it.

Reimplemented from eZWebDAVServer.

Definition at line 374 of file ezwebdavfileserver.php.

eZWebDAVFileServer::put ( target,
tempFile 
)

Renames the temp file $tempFile to $target.

Reimplemented from eZWebDAVServer.

Definition at line 249 of file ezwebdavfileserver.php.


The documentation for this class was generated from the following file: