3declare(strict_types=1);
21use Sabre\DAV\Exception\Forbidden;
22use Sabre\DAV\ICollection;
35 use ilWebDAVReadOnlyNodeWriteFunctionsTrait;
51 $this->user_id = $user->
getId();
65 throw new Forbidden(
'Only for logged in users');
67 return array($this->web_dav_object_factory->getClientNode($this->client_id));
72 return $this->web_dav_object_factory->getClientNode(
$name);
77 if (
$name === $this->client_id) {
85 return strtotime(
'2000-01-01');
This class represents the absolut Root-Node on a WebDAV request.
ilWebDAVRepositoryHelper $repo_helper
__construct(string $client_id, ilWebDAVObjFactory $web_dav_object_factory, ilWebDAVRepositoryHelper $repo_helper, ilObjUser $user)
ilWebDAVObjFactory $web_dav_object_factory