eZPublish  3.8
eZWebDAVFileServer Class Reference

A simple file based WebDAV server. More...

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

Public Member Functions

 copy ($source, $destination)
 
 delete ($target)
 
 eZWebDAVFileServer ()
 
 get ($target)
 
 getCollectionContent ($dir)
 
 head ($target)
 
 mkcol ($target)
 
 move ($source, $destination)
 
 put ($target, $tempFile)
 
- Public Member Functions inherited from eZWebDAVServer
 appendLogEntry ($logString, $label=false)
 
 copy ($source, $destination)
 
 delete ($target)
 
 eZWebDAVServer ()
 
 flushXMLBody ()
 
 get ($target)
 
 getCollectionContent ($collection, $depth, $properties)
 
 head ($target)
 
 mkcol ($target)
 
 move ($source, $destination)
 
 options ($target)
 
 processClientRequest ()
 
 put ($target, $tempFile)
 
 setServerRoot ($rootDir)
 
 setupXMLOutputCharset ()
 
 setXMLOutputCharset ($charset)
 
 xmlBody ()
 
 XMLOutputCharset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from eZWebDAVServer
 dataCharset ()
 
 isLoggingEnabled ()
 
 recode ($string, $fromCharset, $toCharset, $stop=false)
 
 userAgentPattern ()
 
 userAgentSettings ()
 
- Protected Member Functions inherited from eZWebDAVServer
 handle ($status)
 
 headers ()
 
 outputCollectionContent ($collection, $requestedProperties)
 
 outputOptions ($options)
 
 outputSendDataToClient ($output, $headers_only=false)
 
 processURL ($url)
 
 storeUploadedFile ($target)
 

Detailed Description

A simple file based WebDAV server.

Enables local file administration/management through the WebDAV interface.

Usage:

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

Member Function Documentation

eZWebDAVFileServer::copy (   $source,
  $destination 
)

Copies the file or directory $source to $destination.

eZWebDAVFileServer::delete (   $target)

Removes the directory or file $target

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

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

eZWebDAVFileServer::head (   $target)

Returns if the file $target exists or not

eZWebDAVFileServer::mkcol (   $target)

Creates the directory $target

eZWebDAVFileServer::move (   $source,
  $destination 
)

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

eZWebDAVFileServer::put (   $target,
  $tempFile 
)

Renames the temp file $tempFile to $target.


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