47 $this->client_id = $DIC[
'ilias']->getClientId();
48 $this->username = $DIC->user()->getFullname();
49 $this->user_id = $DIC->user()->getId();
72 if ($this->user_id != null && $this->user_id != ANONYMOUS_USER_ID) {
73 return array(
new ilClientNodeDAV($this->client_id, $this->repo_helper, $this->dav_helper));
75 throw new Forbidden(
'Only for logged in users');
90 if (
$name == $this->client_id) {
91 return new ilClientNodeDAV($this->client_id, $this->repo_helper, $this->dav_helper);
104 if (
$name == $this->client_id) {
117 return strtotime(
'2000-01-01');
128 throw new Forbidden(
"It is not possible to create a directory here");
141 throw new Forbidden(
"It is not possible to create a file here");
152 throw new Forbidden(
"It is not possible to change the name of the root");
160 public function delete()
162 throw new Forbidden(
"It is not possible to delete the root");
createFile($name, $data=null)
It is not allowed (not even possible) to create a file here.
getLastModified()
Return a default date as LastModified.
Class ilWebDAVRepositoryHelper.
getChildren()
Returns client node if user exists and is not anonymous.
createDirectory($name)
It is not allowed (not even possible) to create a directory here.
getName()
Return MountPoint as name.
Class ilWebDAVObjDAVHelper.
__construct(ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper)
childExists($name)
Check if given name matches the used Client ID.
getChild($name)
Returns Client Node if Client ID is correct.
setName($name)
It is not possible to set the name for the MountPoint.