ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilWebDAVRequestHandler Class Reference
+ Collaboration diagram for ilWebDAVRequestHandler:

Public Member Functions

 __construct (private ilWebDAVDIC $webdav_dic)
 
 handleRequest (array $post_array)
 

Protected Member Functions

 setPlugins (Server $server)
 
 getRootDir ()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilWebDAVRequestHandler::__construct ( private ilWebDAVDIC  $webdav_dic)

Definition at line 29 of file class.ilWebDAVRequestHandler.php.

30  {
31  }

Member Function Documentation

◆ getRootDir()

ilWebDAVRequestHandler::getRootDir ( )
protected

Definition at line 55 of file class.ilWebDAVRequestHandler.php.

Referenced by handleRequest().

56  {
57  return $this->webdav_dic->dav_factory()->getMountPoint();
58  }
This class represents the absolut Root-Node on a WebDAV request.
+ Here is the caller graph for this function:

◆ handleRequest()

ilWebDAVRequestHandler::handleRequest ( array  $post_array)

Definition at line 33 of file class.ilWebDAVRequestHandler.php.

References $post_array, $server, getRootDir(), and setPlugins().

33  : void
34  {
35  $post_object = $_POST;
36  $_POST = $post_array;
37  $server = new Server($this->getRootDir());
38  $_POST = $post_object;
39  $this->setPlugins($server);
40  $server->start();
41  }
$post_array
Definition: webdav.php:33
$server
Definition: shib_login.php:24
+ Here is the call graph for this function:

◆ setPlugins()

ilWebDAVRequestHandler::setPlugins ( Server  $server)
protected

Definition at line 43 of file class.ilWebDAVRequestHandler.php.

Referenced by handleRequest().

43  : void
44  {
45  $auth_plugin = $this->webdav_dic->authplugin();
46  $server->addPlugin($auth_plugin);
47 
48  $lock_plugin = $this->webdav_dic->locksplugin();
49  $server->addPlugin($lock_plugin);
50 
51  // $browser_plugin = $this->webdav_dic->browserplugin();
52  // $server->addPlugin($browser_plugin);
53  }
$server
Definition: shib_login.php:24
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: