ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ServerPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\DAV;
4 
14 abstract class ServerPlugin {
15 
27  abstract function initialize(Server $server);
28 
37  function getFeatures() {
38 
39  return [];
40 
41  }
42 
53  function getHTTPMethods($path) {
54 
55  return [];
56 
57  }
58 
67  function getPluginName() {
68 
69  return get_class($this);
70 
71  }
72 
83  function getSupportedReportSet($uri) {
84 
85  return [];
86 
87  }
88 
100  function getPluginInfo() {
101 
102  return [
103  'name' => $this->getPluginName(),
104  'description' => null,
105  'link' => null,
106  ];
107 
108  }
109 
110 }
getSupportedReportSet($uri)
Returns a list of reports this plugin supports.
$path
Definition: aliased.php:25
The baseclass for all server plugins.
getPluginInfo()
Returns a bunch of meta-data about the plugin.
getFeatures()
This method should return a list of server-features.
$server
Definition: sabredav.php:48
getHTTPMethods($path)
Use this method to tell the server this plugin defines additional HTTP methods.
Main DAV server class.
Definition: Server.php:23
getPluginName()
Returns a plugin name.
initialize(Server $server)
This initializes the plugin.