ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilObjRepositoryRootDAV.php
Go to the documentation of this file.
1<?php
2
4
5include_once 'Modules/RootFolder/classes/class.ilObjRootFolder.php';
6
16{
19
28 {
29 $this->repository_root_name = $repository_root_name;
30 parent::__construct(new ilObjRootFolder(ROOT_FOLDER_ID, true), $repo_helper, $dav_helper);
31 }
32
33 public function setName($name)
34 {
35 throw new Forbidden("It's not allowed to rename the repository root");
36 }
37
38 public function delete()
39 {
40 throw new Forbidden("It's not allowed to delete the repository root");
41 }
42
43 public function getName()
44 {
46 }
47
48 public function getChildCollectionType()
49 {
50 return 'cat';
51 }
52}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjContainerDAV.
Class ilObjRepositoryRootDAV.
__construct(string $repository_root_name, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper)
Check if given object has valid type and calls parent constructor.
getName()
Returns the name of the node.
getChildCollectionType()
Return the type for child collections of this collection For courses, groups and folders the type is ...
Class ilObjRootFolder.
Class ilWebDAVObjDAVHelper.
Class ilWebDAVRepositoryHelper.
The ICollection Interface.
Definition: ICollection.php:14