|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilMountPointDAV. More...
Inheritance diagram for ilMountPointDAV:
Collaboration diagram for ilMountPointDAV:Public Member Functions | |
| __construct (ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper) | |
| getName () | |
| Return MountPoint as name. More... | |
| getChildren () | |
| Returns client node if user exists and is not anonymous. More... | |
| getChild ($name) | |
| Returns Client Node if Client ID is correct. More... | |
| childExists ($name) | |
| Check if given name matches the used Client ID. More... | |
| getLastModified () | |
| Return a default date as LastModified. More... | |
| createDirectory ($name) | |
| It is not allowed (not even possible) to create a directory here. More... | |
| createFile ($name, $data=null) | |
| It is not allowed (not even possible) to create a file here. More... | |
| setName ($name) | |
| It is not possible to set the name for the MountPoint. More... | |
| delete () | |
| It is not possible to delete the MountPoint. More... | |
Protected Attributes | |
| $access | |
| $client_id | |
| $user_id | |
| $repo_helper | |
| $dav_helper | |
Class ilMountPointDAV.
This class represents the absolut Root-Node on a WebDAV request. If for example following URL is called: https://ilias.de/webdav.php/client/ref_1234/folder this class represents the very first '/' slash after "webdav.php".
This kind of procedure is needed for the way how sabreDAV works
\DAV\ICollection
Definition at line 24 of file class.ilMountPointDAV.php.
| ilMountPointDAV::__construct | ( | ilWebDAVRepositoryHelper | $repo_helper, |
| ilWebDAVObjDAVHelper | $dav_helper | ||
| ) |
Definition at line 41 of file class.ilMountPointDAV.php.
References $dav_helper, $DIC, and $repo_helper.
| ilMountPointDAV::childExists | ( | $name | ) |
Check if given name matches the used Client ID.
| string | $name |
Definition at line 102 of file class.ilMountPointDAV.php.
References $name.
| ilMountPointDAV::createDirectory | ( | $name | ) |
It is not allowed (not even possible) to create a directory here.
| string | $name |
| Forbidden |
Definition at line 126 of file class.ilMountPointDAV.php.
| ilMountPointDAV::createFile | ( | $name, | |
$data = null |
|||
| ) |
It is not allowed (not even possible) to create a file here.
| string | $name | |
| null | $data |
| Forbidden |
Definition at line 139 of file class.ilMountPointDAV.php.
| ilMountPointDAV::delete | ( | ) |
It is not possible to delete the MountPoint.
| Forbidden |
Definition at line 160 of file class.ilMountPointDAV.php.
| ilMountPointDAV::getChild | ( | $name | ) |
Returns Client Node if Client ID is correct.
No permissions to check here since Client node is not an object
| string | $name |
| NotFound |
Definition at line 88 of file class.ilMountPointDAV.php.
References $name.
| ilMountPointDAV::getChildren | ( | ) |
Returns client node if user exists and is not anonymous.
There is no object permission to check
| Forbidden |
Definition at line 70 of file class.ilMountPointDAV.php.
References ANONYMOUS_USER_ID.
| ilMountPointDAV::getLastModified | ( | ) |
Return a default date as LastModified.
Definition at line 115 of file class.ilMountPointDAV.php.
| ilMountPointDAV::getName | ( | ) |
Return MountPoint as name.
This method won't be called anyway
Definition at line 57 of file class.ilMountPointDAV.php.
| ilMountPointDAV::setName | ( | $name | ) |
It is not possible to set the name for the MountPoint.
| string | $name |
| Forbidden |
Definition at line 150 of file class.ilMountPointDAV.php.
|
protected |
Definition at line 27 of file class.ilMountPointDAV.php.
|
protected |
Definition at line 30 of file class.ilMountPointDAV.php.
|
protected |
Definition at line 39 of file class.ilMountPointDAV.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilMountPointDAV.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilMountPointDAV.php.