eZ Publish  [4.2]
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 238 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 420 of file ezwebdavfileserver.php.

eZWebDAVFileServer::delete ( target)

Removes the directory or file $target

Reimplemented from eZWebDAVServer.

Definition at line 348 of file ezwebdavfileserver.php.

eZWebDAVFileServer::eZWebDAVFileServer ( )

Definition at line 240 of file ezwebdavfileserver.php.

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

Reimplemented from eZWebDAVServer.

Definition at line 296 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 447 of file ezwebdavfileserver.php.

eZWebDAVFileServer::head ( target)

Returns if the file $target exists or not

Reimplemented from eZWebDAVServer.

Definition at line 248 of file ezwebdavfileserver.php.

eZWebDAVFileServer::mkcol ( target)

Creates the directory $target

Reimplemented from eZWebDAVServer.

Definition at line 313 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 394 of file ezwebdavfileserver.php.

eZWebDAVFileServer::put ( target,
tempFile 
)

Renames the temp file $tempFile to $target.

Reimplemented from eZWebDAVServer.

Definition at line 269 of file ezwebdavfileserver.php.


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