3use Sabre\DAV\Exception\Forbidden;
5include_once
'Modules/RootFolder/classes/class.ilObjRootFolder.php';
35 throw new Forbidden(
"It's not allowed to rename the repository root");
38 public function delete()
40 throw new Forbidden(
"It's not allowed to delete the repository root");
An exception for terminatinating execution or to throw for unit testing.
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()
SabreDAV interface function SabreDAV interface function .\Sabre\DAV\INode::getName().
getChildCollectionType()
Return the type for child collections of this collection For courses, groups and folders the type is ...
setName($name)
Renames the node.
Class ilWebDAVObjDAVHelper.
Class ilWebDAVRepositoryHelper.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc