kernel/classes/webdav/ezwebdavcontentserver.php
File containing the eZWebDAVContentServer class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\eZWebDAVContentServer
Package: kernel
File containing the eZWebDAVContentServer class.
- Parent(s)
- \eZWebDAVServer
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants

OK_SILENT
= 11
inheritedInherited from:
\eZWebDAVServer::OK_SILENT
- Inherited_from
- \eZWebDAVServer::OK_SILENT

OK_CREATED
= 12
inheritedInherited from:
\eZWebDAVServer::OK_CREATED
- Inherited_from
- \eZWebDAVServer::OK_CREATED

OK_OVERWRITE
= 13
inheritedInherited from:
\eZWebDAVServer::OK_OVERWRITE
- Inherited_from
- \eZWebDAVServer::OK_OVERWRITE

FAILED_FORBIDDEN
= 30
inheritedInherited from:
\eZWebDAVServer::FAILED_FORBIDDEN
- Inherited_from
- \eZWebDAVServer::FAILED_FORBIDDEN

FAILED_NOT_FOUND
= 31
inheritedInherited from:
\eZWebDAVServer::FAILED_NOT_FOUND
- Inherited_from
- \eZWebDAVServer::FAILED_NOT_FOUND

FAILED_EXISTS
= 32
inheritedInherited from:
\eZWebDAVServer::FAILED_EXISTS
- Inherited_from
- \eZWebDAVServer::FAILED_EXISTS

FAILED_CONFLICT
= 33
inheritedInherited from:
\eZWebDAVServer::FAILED_CONFLICT
- Inherited_from
- \eZWebDAVServer::FAILED_CONFLICT

FAILED_PRECONDITION
= 34
inheritedInherited from:
\eZWebDAVServer::FAILED_PRECONDITION
- Inherited_from
- \eZWebDAVServer::FAILED_PRECONDITION

FAILED_LOCKED
= 35
inheritedInherited from:
\eZWebDAVServer::FAILED_LOCKED
- Inherited_from
- \eZWebDAVServer::FAILED_LOCKED

FAILED_BAD_GATEWAY
= 36
inheritedInherited from:
\eZWebDAVServer::FAILED_BAD_GATEWAY
- Inherited_from
- \eZWebDAVServer::FAILED_BAD_GATEWAY

FAILED_STORAGE_FULL
= 37
inheritedInherited from:
\eZWebDAVServer::FAILED_STORAGE_FULL
- Inherited_from
- \eZWebDAVServer::FAILED_STORAGE_FULL

FAILED_UNSUPPORTED
= 38
inheritedInherited from:
\eZWebDAVServer::FAILED_UNSUPPORTED
- Inherited_from
- \eZWebDAVServer::FAILED_UNSUPPORTED

CTIME_FORMAT
= "Y-m-d\\TH:i:s\\Z"
inheritedInherited from:
\eZWebDAVServer::CTIME_FORMAT
- Inherited_from
- \eZWebDAVServer::CTIME_FORMAT

MTIME_FORMAT
= "D, d M Y H:i:s"
inheritedInherited from:
\eZWebDAVServer::MTIME_FORMAT
- Inherited_from
- \eZWebDAVServer::MTIME_FORMAT

TEMP_FILE_PREFIX
= "eZWebDAVUpload_"
inheritedInherited from:
\eZWebDAVServer::TEMP_FILE_PREFIX
- Inherited_from
- \eZWebDAVServer::TEMP_FILE_PREFIX
Properties


$ServerRootDir= '""'
inheritedInherited from:
\eZWebDAVServer::$$ServerRootDir
Default value
""
Details- Type
- n/a
- Inherited_from
- \eZWebDAVServer::$$ServerRootDir


$XMLBodyRead= 'false'
inheritedInherited from:
\eZWebDAVServer::$$XMLBodyRead
Default value
false
Details- Type
- n/a
- Inherited_from
- \eZWebDAVServer::$$XMLBodyRead


$XMLOutputCharset= ''utf-8''
inheritedInherited from:
\eZWebDAVServer::$$XMLOutputCharset
Default value
'utf-8'
Details- Type
- n/a
- Inherited_from
- \eZWebDAVServer::$$XMLOutputCharset
Methods


appendLogEntry(
$logString, $label
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$logString | ||
$label |


copy(
$source, $destination
)
:
void
inherited
Inherited from:
\eZWebDAVServer::copy()
Parameters
Name | Type | Description |
---|---|---|
$source | ||
$destination |


deleteContent(
$currentSite, $virtualFolder, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$virtualFolder | ||
$target | ||
$fullPath |


deleteVirtualFolder(
$currentSite, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$target | ||
$fullPath |


fetchContentList(
$node, $target, $depth, $properties
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$node | ||
$target | ||
$depth | ||
$properties |


fetchParentNodeByTranslation(
$nodePathString
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$nodePathString |


fetchSiteListContent(
$depth, $properties
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$depth | ||
$properties |


fetchVirtualSiteContent(
$site, $depth, $properties
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$site | ||
$depth | ||
$properties |


getCollectionContent(
$collection, $depth
=
false, $properties
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$collection | ||
$depth | ||
$properties |


getContentNodeData(
$result, $currentSite, $virtualFolder, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$result | ||
$currentSite | ||
$virtualFolder | ||
$target | ||
$fullPath |


getContentTreeCollection(
$currentSite, $virtualFolder, $collection, $fullPath, $depth, $properties
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$virtualFolder | ||
$collection | ||
$fullPath | ||
$depth | ||
$properties |


getVirtualFolderCollection(
$currentSite, $collection, $fullPath, $depth, $properties
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$collection | ||
$fullPath | ||
$depth | ||
$properties |


getVirtualFolderData(
$result, $currentSite, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$result | ||
$currentSite | ||
$target | ||
$fullPath |


handle(
$status
)
:
void
inherited
Inherited from:
\eZWebDAVServer::handle()
Parameters
Name | Type | Description |
---|---|---|
$status |


internalNodePath(
$virtualFolder, $collection
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$virtualFolder | ||
$collection |


mkcolContent(
$currentSite, $virtualFolder, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$virtualFolder | ||
$target | ||
$fullPath |


mkcolVirtualFolder(
$currentSite, $target, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$target | ||
$fullPath |


moveContent(
$sourceSite, $destinationSite, $sourceVFolder, $destinationVFolder, $source, $destination, $fullSource, $fullDestination
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$sourceSite | ||
$destinationSite | ||
$sourceVFolder | ||
$destinationVFolder | ||
$source | ||
$destination | ||
$fullSource | ||
$fullDestination |


moveVirtualFolder(
$sourceSite, $destinationSite, $source, $destination, $fullSource, $fullDestination
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$sourceSite | ||
$destinationSite | ||
$source | ||
$destination | ||
$fullSource | ||
$fullDestination |


outputCollectionContent(
$collection, $requestedProperties
)
:
void
inherited
Inherited from:
\eZWebDAVServer::outputCollectionContent()
Parameters
Name | Type | Description |
---|---|---|
$collection | ||
$requestedProperties |


outputOptions(
$options
)
:
void
inherited
Inherited from:
\eZWebDAVServer::outputOptions()
Parameters
Name | Type | Description |
---|---|---|
$options |


outputSendDataToClient(
$output, $headers_only
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$output | ||
$headers_only |


putContentData(
$currentSite, $virtualFolder, $target, $tempFile, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$virtualFolder | ||
$target | ||
$tempFile | ||
$fullPath |


putVirtualFolderData(
$currentSite, $target, $tempFile, $fullPath
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$currentSite | ||
$target | ||
$tempFile | ||
$fullPath |


recode(
$string, $fromCharset, $toCharset, $stop
=
false
)
:
void
inherited
Inherited from:
\eZWebDAVServer::recode()
Parameters
Name | Type | Description |
---|---|---|
$string | ||
$fromCharset | ||
$toCharset | ||
$stop |


setServerRoot(
$rootDir
)
:
void
inherited
Inherited from:
\eZWebDAVServer::setServerRoot()
Parameters
Name | Type | Description |
---|---|---|
$rootDir |


setXMLOutputCharset(
$charset
)
:
void
inherited
Inherited from:
\eZWebDAVServer::setXMLOutputCharset()
Parameters
Name | Type | Description |
---|---|---|
$charset |


storeUploadedFile(
$target
)
:
void
inherited
Inherited from:
\eZWebDAVServer::storeUploadedFile()
Parameters
Name | Type | Description |
---|---|---|
$target |