DavUtil
in package
This class provides different helper functions related to WebDAV protocol
Tags
Table of Contents
Methods
- canRename() : bool
- getDavFileId() : string
- Compute the fileId to use for dav responses
- getDavPermissions() : string
- Compute the format needed for returning permissions for dav
Methods
canRename()
public
static canRename(FileInfo $info, FileInfo $parent) : bool
Parameters
Return values
boolgetDavFileId()
Compute the fileId to use for dav responses
public
static getDavFileId(int $id) : string
Parameters
- $id : int
-
Id of the file returned by FileInfo::getId
Tags
Return values
stringgetDavPermissions()
Compute the format needed for returning permissions for dav
public
static getDavPermissions(FileInfo $info, FileInfo $parent) : string