eZPublish  3.8
ezwebdavserver.php File Reference

Classes

class  eZWebDAVServer
 Virtual base class for implementing WebDAV servers. More...
 

Functions

 append_to_log ($logString)
 
 eZWebDavAppendToLog ($logString)
 
if(!file_exists(EZ_WEBDAV_TEMP_DIRECTORY))
if(!file_exists(EZ_WEBDAV_ROOT_DIRECTORY)) 
eZWebDavCheckLogSetting ()
 

Variables

 $varDir = eZSys::varDirectory()
 
const EZ_WEBDAV_CTIME_FORMAT "Y-m-d\\TH:i:s\\Z"
 
const EZ_WEBDAV_FAILED_BAD_GATEWAY 36
 
const EZ_WEBDAV_FAILED_CONFLICT 33
 
const EZ_WEBDAV_FAILED_EXISTS 32
 
const EZ_WEBDAV_FAILED_FORBIDDEN 30
 
const EZ_WEBDAV_FAILED_LOCKED 35
 
const EZ_WEBDAV_FAILED_NOT_FOUND 31
 
const EZ_WEBDAV_FAILED_PRECONDITION 34
 
const EZ_WEBDAV_FAILED_STORAGE_FULL 37
 
const EZ_WEBDAV_FAILED_UNSUPPORTED 38
 
const EZ_WEBDAV_MTIME_FORMAT "D, d M Y H:i:s"
 
const EZ_WEBDAV_OK 10
 
const EZ_WEBDAV_OK_CREATED 12
 
const EZ_WEBDAV_OK_OVERWRITE 13
 
const EZ_WEBDAV_OK_SILENT 11
 
const EZ_WEBDAV_ROOT_DIRECTORY $varDir . "/webdav/root"
 
const EZ_WEBDAV_TEMP_DIRECTORY $varDir . "/webdav/tmp"
 
const EZ_WEBDAV_TEMP_FILE_PREFIX "eZWebDAVUpload_"
 

Detailed Description

WebDAV server base class.

Function Documentation

append_to_log (   $logString)

Logs the string $logString to the logfile /tmp/webdavlog.txt if logging is enabled.

Deprecated:
Appending to log file is now done through appendLogEntry in the webdav server class.

Referenced by eZWebDAVFileServer\copy(), eZWebDAVFileServer\delete(), eZWebDAVFileServer\get(), eZWebDAVFileServer\getCollectionContent(), getFileInfo(), eZWebDAVFileServer\head(), eZWebDAVFileServer\mkcol(), eZWebDAVFileServer\move(), and eZWebDAVFileServer\put().

eZWebDavAppendToLog (   $logString)

Logs the string $logString to the logfile /tmp/webdavlog.txt if logging is enabled.

Deprecated:
Appending to log file is now done through appendLogEntry in the webdav server class.
if (!file_exists(EZ_WEBDAV_TEMP_DIRECTORY)) if (!file_exists(EZ_WEBDAV_ROOT_DIRECTORY)) eZWebDavCheckLogSetting ( )
Returns
true if logging is enabled.
Deprecated:
Use eZWebDAVServer::isLoggingEnabled() instead.

Variable Documentation

$varDir = eZSys::varDirectory()
const EZ_WEBDAV_CTIME_FORMAT "Y-m-d\\TH:i:s\\Z"
const EZ_WEBDAV_FAILED_BAD_GATEWAY 36

Referenced by eZWebDAVServer\handle().

const EZ_WEBDAV_FAILED_LOCKED 35

Referenced by eZWebDAVServer\handle().

const EZ_WEBDAV_FAILED_PRECONDITION 34

Referenced by eZWebDAVServer\handle().

const EZ_WEBDAV_FAILED_STORAGE_FULL 37

Referenced by eZWebDAVServer\handle().

const EZ_WEBDAV_FAILED_UNSUPPORTED 38
const EZ_WEBDAV_MTIME_FORMAT "D, d M Y H:i:s"
const EZ_WEBDAV_OK_OVERWRITE 13

Referenced by eZWebDAVServer\handle().

const EZ_WEBDAV_ROOT_DIRECTORY $varDir . "/webdav/root"
const EZ_WEBDAV_TEMP_DIRECTORY $varDir . "/webdav/tmp"
const EZ_WEBDAV_TEMP_FILE_PREFIX "eZWebDAVUpload_"