ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjRepositoryRootDAV. More...
Public Member Functions | |
__construct (string $repository_root_name, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper) | |
Check if given object has valid type and calls parent constructor. More... | |
setName ($name) | |
Renames the node. More... | |
delete () | |
Deletes the current node. More... | |
getName () | |
SabreDAV interface function SabreDAV interface function .
| |
getChildCollectionType () | |
Return the type for child collections of this collection For courses, groups and folders the type is 'fold' For categories the type is 'cat'. More... | |
![]() | |
__construct (ilContainer $a_obj, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper) | |
Check if given object has valid type and calls parent constructor. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
getChild ($name) | |
Returns a specific child node, referenced by its name. More... | |
getChildren () | |
Returns an array with all the child nodes. More... | |
childExists ($name) | |
Checks if a child-node with the specified name exists. More... | |
getChildCollectionType () | |
Return the type for child collections of this collection For courses, groups and folders the type is 'fold' For categories the type is 'cat'. More... | |
![]() | |
__construct (ilObject $a_obj, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper) | |
Constructor for DAV Object. More... | |
getRefId () | |
Returns the ref id of this object. More... | |
getObjectId () | |
Returns the object id of this object. More... | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($a_name) | |
Renames the node. More... | |
getName () | |
SabreDAV interface function . More... | |
getObject () | |
Returns ILIAS Object. More... | |
Protected Attributes | |
$repository_root_name | |
![]() | |
$ref_id | |
$obj | |
$request | |
$repo_helper | |
$dav_helper | |
Additional Inherited Members | |
![]() | |
checkReadAndVisibleAccessForObj ($child_ref) | |
Class ilObjRepositoryRootDAV.
Small implementation of the ILIAS Repository Root as WebDAV object.
Definition at line 13 of file class.ilObjRepositoryRootDAV.php.
ilObjRepositoryRootDAV::__construct | ( | string | $repository_root_name, |
ilWebDAVRepositoryHelper | $repo_helper, | ||
ilWebDAVObjDAVHelper | $dav_helper | ||
) |
Check if given object has valid type and calls parent constructor.
string | $repository_root_name | |
ilWebDAVRepositoryHelper | $repo_helper | |
ilWebDAVObjDAVHelper | $dav_helper |
Definition at line 25 of file class.ilObjRepositoryRootDAV.php.
References ilObjectDAV\$dav_helper, ilObjectDAV\$repo_helper, $repository_root_name, ILIAS\GlobalScreen\Provider\__construct(), and ROOT_FOLDER_ID.
ilObjRepositoryRootDAV::delete | ( | ) |
Deletes the current node.
Sabre |
DAV\Exception\Forbidden
ilRepositoryException |
Reimplemented from ilObjectDAV.
Definition at line 36 of file class.ilObjRepositoryRootDAV.php.
ilObjRepositoryRootDAV::getChildCollectionType | ( | ) |
Return the type for child collections of this collection For courses, groups and folders the type is 'fold' For categories the type is 'cat'.
Reimplemented from ilObjContainerDAV.
Definition at line 46 of file class.ilObjRepositoryRootDAV.php.
ilObjRepositoryRootDAV::getName | ( | ) |
SabreDAV interface function SabreDAV interface function .
Reimplemented from ilObjectDAV.
Definition at line 41 of file class.ilObjRepositoryRootDAV.php.
References $repository_root_name.
ilObjRepositoryRootDAV::setName | ( | $a_name | ) |
Renames the node.
string | $a_name | The new name |
Sabre |
DAV\Exception\Forbidden
Reimplemented from ilObjectDAV.
Definition at line 31 of file class.ilObjRepositoryRootDAV.php.
|
protected |
Definition at line 16 of file class.ilObjRepositoryRootDAV.php.
Referenced by __construct(), and getName().