ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
PropertyStorage Plugin. More...
Public Member Functions | |
__construct (Backend\BackendInterface $backend) | |
Creates the plugin. More... | |
initialize (Server $server) | |
This initializes the plugin. More... | |
propFind (PropFind $propFind, INode $node) | |
Called during PROPFIND operations. More... | |
propPatch ($path, PropPatch $propPatch) | |
Called during PROPPATCH operations. More... | |
afterUnbind ($path) | |
Called after a node is deleted. More... | |
afterMove ($source, $destination) | |
Called after a node is moved. More... | |
getPluginName () | |
Returns a plugin name. More... | |
getPluginInfo () | |
Returns a bunch of meta-data about the plugin. More... | |
Public Member Functions inherited from Sabre\DAV\ServerPlugin | |
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 | |
$pathFilter | |
$backend | |
Adding this plugin to your server allows clients to store any arbitrary WebDAV property.
See: http://sabre.io/dav/property-storage/
for more information.
Definition at line 26 of file Plugin.php.
Sabre\DAV\PropertyStorage\Plugin::__construct | ( | Backend\BackendInterface | $backend | ) |
Creates the plugin.
Backend\BackendInterface | $backend |
Definition at line 50 of file Plugin.php.
References Sabre\DAV\PropertyStorage\Plugin\$backend.
Sabre\DAV\PropertyStorage\Plugin::afterMove | ( | $source, | |
$destination | |||
) |
Called after a node is moved.
This allows the backend to move all the associated properties.
string | $source | |
string | $destination |
Definition at line 139 of file Plugin.php.
References $destination, Sabre\DAV\PropertyStorage\Plugin\$pathFilter, and $source.
Sabre\DAV\PropertyStorage\Plugin::afterUnbind | ( | $path | ) |
Called after a node is deleted.
This allows the backend to clean up any properties still in the database.
string | $path |
Definition at line 122 of file Plugin.php.
References $path, and Sabre\DAV\PropertyStorage\Plugin\$pathFilter.
Sabre\DAV\PropertyStorage\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 176 of file Plugin.php.
References Sabre\DAV\PropertyStorage\Plugin\getPluginName().
Sabre\DAV\PropertyStorage\Plugin::getPluginName | ( | ) |
Returns a plugin name.
Using this name other plugins will be able to access other plugins using ::getPlugin
Definition at line 159 of file Plugin.php.
Referenced by Sabre\DAV\PropertyStorage\Plugin\getPluginInfo().
Sabre\DAV\PropertyStorage\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 67 of file Plugin.php.
References Sabre\Event\EventEmitterInterface\on().
Called during PROPFIND operations.
If there's any requested properties that don't have a value yet, this plugin will look in the property storage backend to find them.
Definition at line 86 of file Plugin.php.
References $path, Sabre\DAV\PropertyStorage\Plugin\$pathFilter, and Sabre\DAV\PropFind\getPath().
Sabre\DAV\PropertyStorage\Plugin::propPatch | ( | $path, | |
PropPatch | $propPatch | ||
) |
Called during PROPPATCH operations.
If there's any updated properties that haven't been stored, the propertystorage backend can handle it.
string | $path | |
PropPatch | $propPatch |
Definition at line 105 of file Plugin.php.
References $path, and Sabre\DAV\PropertyStorage\Plugin\$pathFilter.
Sabre\DAV\PropertyStorage\Plugin::$backend |
Definition at line 43 of file Plugin.php.
Referenced by Sabre\DAV\PropertyStorage\Plugin\__construct().
Sabre\DAV\PropertyStorage\Plugin::$pathFilter |
Definition at line 38 of file Plugin.php.
Referenced by Sabre\DAV\PropertyStorage\Plugin\afterMove(), Sabre\DAV\PropertyStorage\Plugin\afterUnbind(), Sabre\DAV\PropertyStorage\Plugin\propFind(), and Sabre\DAV\PropertyStorage\Plugin\propPatch().