ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilObjRepositoryRootDAV.php
Go to the documentation of this file.
1 <?php
2 
4 
5 include_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 }
Class ilObjRootFolder.
getName()
Returns the name of the node.
Class ilWebDAVRepositoryHelper.
__construct(string $repository_root_name, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper)
Check if given object has valid type and calls parent constructor.
Class ilObjRepositoryRootDAV.
Class ilWebDAVObjDAVHelper.
setName($name)
Renames the node.
Class ilObjContainerDAV.