ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ServerPlugin.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV;
4
14abstract class ServerPlugin {
15
27 abstract function initialize(Server $server);
28
37 function getFeatures() {
38
39 return [];
40
41 }
42
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}
$path
Definition: aliased.php:25
An exception for terminatinating execution or to throw for unit testing.
The baseclass for all server plugins.
getHTTPMethods($path)
Use this method to tell the server this plugin defines additional HTTP methods.
getPluginName()
Returns a plugin name.
getFeatures()
This method should return a list of server-features.
getPluginInfo()
Returns a bunch of meta-data about the plugin.
initialize(Server $server)
This initializes the plugin.
getSupportedReportSet($uri)
Returns a list of reports this plugin supports.
Main DAV server class.
Definition: Server.php:23
$server
Definition: sabredav.php:48