ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
Deleted the current node. More... | |
getName () | |
Returns the name of the node. More... | |
getChildCollectionType () | |
![]() | |
__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 Returns the name of the node.This is used to generate the url.
| |
getObject () | |
Returns ILIAS Object. More... | |
![]() | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
Protected Attributes | |
$repository_root_name | |
![]() | |
$ref_id | |
$obj | |
$repo_helper | |
$dav_helper | |
Class ilObjRepositoryRootDAV.
Small implementation of the ILIAS Repository Root as WebDAV object.
Definition at line 15 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 27 of file class.ilObjRepositoryRootDAV.php.
References $repository_root_name.
ilObjRepositoryRootDAV::delete | ( | ) |
Deleted the current node.
Implements Sabre\DAV\INode.
Definition at line 38 of file class.ilObjRepositoryRootDAV.php.
ilObjRepositoryRootDAV::getChildCollectionType | ( | ) |
Definition at line 48 of file class.ilObjRepositoryRootDAV.php.
ilObjRepositoryRootDAV::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 43 of file class.ilObjRepositoryRootDAV.php.
References $repository_root_name.
ilObjRepositoryRootDAV::setName | ( | $name | ) |
Renames the node.
string | $name | The new name |
Implements Sabre\DAV\INode.
Definition at line 33 of file class.ilObjRepositoryRootDAV.php.
|
protected |
Definition at line 18 of file class.ilObjRepositoryRootDAV.php.
Referenced by __construct(), and getName().