3declare(strict_types=1);
21use Psr\Http\Message\RequestInterface;
35 RequestInterface $a_request,
38 $this->repo = $a_repo;
39 $this->request = $a_request;
40 $this->
user = $a_user;
46 $uri = $this->request->getUri()->getPath();
48 $splitted_uri = explode(
'/', $uri);
51 while (array_shift($splitted_uri) !=
'webdav.php' && count($splitted_uri) > 0);
53 $path_value = $splitted_uri[1];
55 if (strlen($path_value) == 2) {
64 if (substr($path_value, 0, 4) ==
'ref_') {
69 $this->
user->getLanguage(),
70 (
int) substr($path_value, 4)
74 throw new InvalidArgumentException(
"Invalid path given");
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilWebDAVMountInstructionsRepositoryImpl $repo
__construct(ilWebDAVMountInstructionsRepositoryImpl $a_repo, RequestInterface $a_request, ilObjUser $a_user)
getMountInstructionsObject()
RequestInterface $request
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...