ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilWebDAVSabreBrowserPlugin. More...
Public Member Functions | |
__construct (ilCtrl $ilCtrl) | |
Override the original contructor. More... | |
generateDirectoryIndex ($path) | |
Override the original generateDirectoryIndex method. More... | |
![]() | |
__construct ($enablePost=true) | |
Creates the object. More... | |
initialize (DAV\Server $server) | |
Initializes the plugin and subscribes to events. More... | |
httpGetEarly (RequestInterface $request, ResponseInterface $response) | |
This method intercepts GET requests that have ?sabreAction=info appended to the URL. More... | |
httpGet (RequestInterface $request, ResponseInterface $response) | |
This method intercepts GET requests to collections and returns the html. More... | |
httpPOST (RequestInterface $request, ResponseInterface $response) | |
Handles POST requests for tree operations. More... | |
escapeHTML ($value) | |
Escapes a string for html. More... | |
generateDirectoryIndex ($path) | |
Generates the html directory index for a given url. More... | |
generatePluginListing () | |
Generates the 'plugins' page. More... | |
generateHeader ($title, $path=null) | |
Generates the first block of HTML, including the <head> tag and page header. More... | |
generateFooter () | |
Generates the page footer. More... | |
htmlActionsPanel (DAV\INode $node, &$output, $path) | |
This method is used to generate the 'actions panel' output for collections. More... | |
getPluginName () | |
Returns a plugin name. More... | |
getPluginInfo () | |
Returns a bunch of meta-data about the plugin. More... | |
![]() | |
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 | |
$ilCtrl | |
![]() | |
$server | |
$enablePost = true | |
Additional Inherited Members | |
![]() | |
$uninterestingProperties | |
![]() | |
getAssetUrl ($assetName) | |
This method takes a path/name of an asset and turns it into url suiteable for http access. More... | |
getLocalAssetPath ($assetName) | |
This method returns a local pathname to an asset. More... | |
serveAsset ($assetName) | |
This method reads an asset from disk and generates a full http response. More... | |
compareNodes ($a, $b) | |
Sort helper function: compares two directory entries based on type and display name. More... | |
Class ilWebDAVSabreBrowserPlugin.
The only purpose for this class is to redirect a browsers WebDAV-Request to the mount-instructions page
Definition at line 8 of file class.ilWebDAVSabreBrowserPlugin.php.
ilWebDAVSabreBrowserPlugin::__construct | ( | ilCtrl | $ilCtrl | ) |
Override the original contructor.
ilCtrl is needed to redirect to the mount-instructions page.
ilCtrl | $ilCtrl |
Definition at line 18 of file class.ilWebDAVSabreBrowserPlugin.php.
References $ilCtrl.
ilWebDAVSabreBrowserPlugin::generateDirectoryIndex | ( | $path | ) |
Override the original generateDirectoryIndex method.
Instead of creating the HTML-Code for a WebDAV site, redirect to the mount-instrunctions page. The ILIAS WebDAV Service is made to communicate with file managers. Browsers shall use the regular way to interact with ILIAS
string | $path |
Definition at line 31 of file class.ilWebDAVSabreBrowserPlugin.php.
|
protected |
Definition at line 11 of file class.ilWebDAVSabreBrowserPlugin.php.
Referenced by __construct().