ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilWebDAVTree. More...
Static Public Member Functions | |
static | getInstance () |
static | getRefIdForWebDAVPath ($a_uri) |
Returns the ref_id of the given webdav path. More... | |
static | getRefIdForGivenRootAndPath (int $start_ref, string $path_from_startnode) |
Static Protected Member Functions | |
static | iterateRecursiveThroughTree ($path_title_array, $searched_element_index, $parent_ref_id) |
Recursive function to iterate through tree with given path. More... | |
Static Protected Attributes | |
static | $instance |
Class ilWebDAVTree.
This class is used for manual tree traversal from a WebDAV-Request if it isn't handled by Sabre
Mostly used for lock and unlock calls. Might be refactored to be a substitute for Sabre in a future version.
Definition at line 17 of file class.ilWebDAVTree.php.
|
static |
Definition at line 21 of file class.ilWebDAVTree.php.
|
static |
int | $start_ref | |
string | $path_from_startnode |
Definition at line 98 of file class.ilWebDAVTree.php.
|
static |
Returns the ref_id of the given webdav path.
Path starts without php-script
Examples
Path starts at a ref: <client_name>/ref_<ref_id>/folder1/folder2 Path starts at root: <client_name>/ILIAS/foo_container1/course1/
$a_uri |
BadRequest | |
NotFound |
Definition at line 42 of file class.ilWebDAVTree.php.
References ROOT_FOLDER_ID.
|
staticprotected |
Recursive function to iterate through tree with given path.
$path_title_array | Array with all object titles in this path |
$searched_element_index | Index for the path_title_array which points to the searched obj title |
$parent_ref_id | Ref ID of parent of the searched element |
Definition at line 111 of file class.ilWebDAVTree.php.
References $DIC, ilObject\_lookupObjectId(), and ilObject\_lookupTitle().
|
staticprotected |
Definition at line 19 of file class.ilWebDAVTree.php.