44 {
46 $uri = $this->request->getUri()->getPath();
47
48 $splitted_uri = explode('/', $uri);
49
50
51 while (array_shift($splitted_uri) != 'webdav.php' && count($splitted_uri) > 0);
52
53 $path_value = $splitted_uri[1];
54
55 if (strlen($path_value) == 2) {
57 $this->repo,
58 $uri_builder,
60 $path_value
61 );
62 }
63
64 if (substr($path_value, 0, 4) == 'ref_') {
66 $this->repo,
67 $uri_builder,
69 $this->
user->getLanguage(),
70 (int) substr($path_value, 4)
71 );
72 }
73
74 throw new InvalidArgumentException("Invalid path given");
75 }
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...