ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilWebDAVSabreBrowserPlugin.php
Go to the documentation of this file.
1 <?php
2 
8 class ilWebDAVSabreBrowserPlugin extends Sabre\DAV\Browser\Plugin
9 {
11  protected $ilCtrl;
12 
18  public function __construct(ilCtrl $ilCtrl)
19  {
20  $this->ctrl = $ilCtrl;
21  parent::__construct(false);
22  }
23 
31  public function generateDirectoryIndex($path)
32  {
33  $this->ctrl->redirectToURL("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]?mount-instructions");
34  }
35 }
This class provides processing control methods.
Class ilWebDAVSabreBrowserPlugin.
generateDirectoryIndex($path)
Override the original generateDirectoryIndex method.
__construct(Container $dic, ilPlugin $plugin)
__construct(ilCtrl $ilCtrl)
Override the original contructor.