ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getFeatures () | |
This method should return a list of server-features. More... | |
getHTTPMethods ($uri) | |
Use this method to tell the server this plugin defines additional HTTP methods. More... | |
initialize (Server $server) | |
This initializes the plugin. More... | |
beforeMethod (RequestInterface $request, ResponseInterface $response) | |
![]() | |
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... | |
Data Fields | |
$beforeMethod | |
Definition at line 8 of file TestPlugin.php.
Sabre\DAV\TestPlugin::beforeMethod | ( | RequestInterface | $request, |
ResponseInterface | $response | ||
) |
Definition at line 30 of file TestPlugin.php.
References Sabre\DAV\TestPlugin\beforeMethod(), and Sabre\HTTP\RequestInterface\getMethod().
Referenced by Sabre\DAV\TestPlugin\beforeMethod().
Sabre\DAV\TestPlugin::getFeatures | ( | ) |
This method should return a list of server-features.
This is for example 'versioning' and is added to the DAV: header in an OPTIONS response.
Reimplemented from Sabre\DAV\ServerPlugin.
Definition at line 12 of file TestPlugin.php.
Sabre\DAV\TestPlugin::getHTTPMethods | ( | $path | ) |
Use this method to tell the server this plugin defines additional HTTP methods.
This method is passed a uri. It should only return HTTP methods that are available for the specified uri.
string | $path |
Reimplemented from Sabre\DAV\ServerPlugin.
Definition at line 18 of file TestPlugin.php.
Sabre\DAV\TestPlugin::initialize | ( | Server | $server | ) |
This initializes the plugin.
This function is called by Sabre\DAV\Server, after addPlugin is called.
This method should set up the required event subscriptions.
Server | $server |
Reimplemented from Sabre\DAV\ServerPlugin.
Definition at line 24 of file TestPlugin.php.
References $server.
Sabre\DAV\TestPlugin::$beforeMethod |
Definition at line 10 of file TestPlugin.php.