ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This plugin provides support for RFC4709: Mounting WebDAV servers. More...
Public Member Functions | |
initialize (DAV\Server $server) | |
Initializes the plugin and registers event handles. More... | |
httpGet (RequestInterface $request, ResponseInterface $response) | |
'beforeMethod' event handles. More... | |
davMount (ResponseInterface $response, $uri) | |
Generates the davmount response. More... | |
Public Member Functions inherited from Sabre\DAV\ServerPlugin | |
initialize (Server $server) | |
This initializes the plugin. More... | |
getFeatures () | |
This method should return a list of server-features. More... | |
getHTTPMethods ($path) | |
Use this method to tell the server this plugin defines additional HTTP methods. More... | |
getPluginName () | |
Returns a plugin name. More... | |
getSupportedReportSet ($uri) | |
Returns a list of reports this plugin supports. More... | |
getPluginInfo () | |
Returns a bunch of meta-data about the plugin. More... | |
Protected Attributes | |
$server | |
This plugin provides support for RFC4709: Mounting WebDAV servers.
Simply append ?mount to any collection to generate the davmount response.
Definition at line 18 of file Plugin.php.
Sabre\DAV\Mount\Plugin::davMount | ( | ResponseInterface | $response, |
$uri | |||
) |
Generates the davmount response.
ResponseInterface | $response | |
string | $uri | absolute uri |
Definition at line 72 of file Plugin.php.
References Sabre\HTTP\MessageInterface\setBody(), Sabre\HTTP\MessageInterface\setHeader(), and Sabre\HTTP\ResponseInterface\setStatus().
Referenced by Sabre\DAV\Mount\Plugin\httpGet().
Sabre\DAV\Mount\Plugin::httpGet | ( | RequestInterface | $request, |
ResponseInterface | $response | ||
) |
'beforeMethod' event handles.
This event handles intercepts GET requests ending with ?mount
RequestInterface | $request | |
ResponseInterface | $response |
Definition at line 48 of file Plugin.php.
References Sabre\DAV\Mount\Plugin\davMount(), Sabre\HTTP\RequestInterface\getAbsoluteUrl(), and Sabre\HTTP\RequestInterface\getQueryParameters().
Sabre\DAV\Mount\Plugin::initialize | ( | DAV\Server | $server | ) |
Initializes the plugin and registers event handles.
DAV\Server | $server |
Definition at line 33 of file Plugin.php.
References Sabre\DAV\Mount\Plugin\$server.
|
protected |
Definition at line 25 of file Plugin.php.
Referenced by Sabre\DAV\Mount\Plugin\initialize().