ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

56 {
57 return $this->webdav_dic->dav_factory()->getMountPoint();
58 }
This class represents the absolut Root-Node on a WebDAV request.

Referenced by handleRequest().

+ Here is the caller graph for this function:

◆ handleRequest()

ilWebDAVRequestHandler::handleRequest ( array  $post_array)

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

33 : void
34 {
35 $post_object = $_POST;
37 $server = new Server($this->getRootDir());
38 $_POST = $post_object;
39 $this->setPlugins($server);
40 $server->start();
41 }
$_POST['cmd']
Definition: lti.php:27
$server
Definition: shib_login.php:28
$post_array
Definition: webdav.php:33

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

+ Here is the call graph for this function:

◆ setPlugins()

ilWebDAVRequestHandler::setPlugins ( Server  $server)
protected

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

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 }

References $server.

Referenced by handleRequest().

+ Here is the caller graph for this function:

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