ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Notifications plugin. More...
Public Member Functions | |
getPluginName () | |
Returns a plugin name. More... | |
initialize (Server $server) | |
This initializes the plugin. More... | |
propFind (PropFind $propFind, BaseINode $node) | |
PropFind. More... | |
httpGet (RequestInterface $request, ResponseInterface $response) | |
This event is triggered before the usual GET request handler. 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... | |
Data Fields | |
const | NS_CALENDARSERVER = 'http://calendarserver.org/ns/' |
This is the namespace for the proprietary calendarserver extensions. More... | |
Protected Attributes | |
$server | |
Notifications plugin.
This plugin implements several features required by the caldav-notification draft specification.
Before version 2.1.0 this functionality was part of Sabre but this has since been split up.
Definition at line 27 of file Plugin.php.
Sabre\CalDAV\Notifications\Plugin::getPluginInfo | ( | ) |
Returns a bunch of meta-data about the plugin.
Providing this information is optional, and is mainly displayed by the Browser plugin.
The description key in the returned array may contain html and will not be sanitized.
Definition at line 170 of file Plugin.php.
References Sabre\CalDAV\Notifications\Plugin\getPluginName().
Sabre\CalDAV\Notifications\Plugin::getPluginName | ( | ) |
Returns a plugin name.
Using this name other plugins will be able to access other plugins using ::getPlugin
Definition at line 49 of file Plugin.php.
Referenced by Sabre\CalDAV\Notifications\Plugin\getPluginInfo().
Sabre\CalDAV\Notifications\Plugin::httpGet | ( | RequestInterface | $request, |
ResponseInterface | $response | ||
) |
This event is triggered before the usual GET request handler.
We use this to intercept GET calls to notification nodes, and return the proper response.
RequestInterface | $request | |
ResponseInterface | $response |
Definition at line 128 of file Plugin.php.
References $path, Sabre\HTTP\RequestInterface\getPath(), Sabre\HTTP\MessageInterface\setBody(), Sabre\HTTP\MessageInterface\setHeader(), and Sabre\HTTP\ResponseInterface\setStatus().
Sabre\CalDAV\Notifications\Plugin::initialize | ( | Server | $server | ) |
This initializes the plugin.
This function is called by Sabre, after addPlugin is called.
This method should set up the required event subscriptions.
Server | $server |
Definition at line 66 of file Plugin.php.
References Sabre\CalDAV\Notifications\Plugin\$server, and Sabre\Event\EventEmitterInterface\on().
Sabre\CalDAV\Notifications\Plugin::propFind | ( | PropFind | $propFind, |
BaseINode | $node | ||
) |
PropFind.
PropFind | $propFind | |
BaseINode | $node |
Definition at line 89 of file Plugin.php.
References $caldavPlugin, and Sabre\DAV\PropFind\handle().
|
protected |
Definition at line 39 of file Plugin.php.
Referenced by Sabre\CalDAV\Notifications\Plugin\initialize().
const Sabre\CalDAV\Notifications\Plugin::NS_CALENDARSERVER = 'http://calendarserver.org/ns/' |
This is the namespace for the proprietary calendarserver extensions.
Definition at line 32 of file Plugin.php.
Referenced by Sabre\CalDAV\Notifications\PluginTest\testNotificationProperties(), and Sabre\CalDAV\Notifications\PluginTest\testPrincipalProperties().