Plugin configuration class for the LOCK plugin.
To activate (load) the plugin, the user must instantiate this class and submit the instance to ezcWebdavPluginRegistry::registerPlugin().
Source for this file: /Webdav/src/plugins/lock/config.php
ezcWebdavPluginConfiguration | --ezcWebdavLockPluginConfiguration
Version: | //autogen// |
protected array(string=>mixed) |
$properties
= array()
Properties. |
public void |
__construct(
[ $options
= null] )
Creates a new lock plugin configuration. |
public array |
getHooks(
)
Returns the hooks this plugin wants to assign to. |
public string |
getNamespace(
)
Returns the namespace of this plugin. |
public void |
init(
)
Initialize the plugin. |
From ezcWebdavPluginConfiguration | |
---|---|
public abstract array |
ezcWebdavPluginConfiguration::getHooks()
Returns the hooks this plugin wants to assign to. |
public abstract string |
ezcWebdavPluginConfiguration::getNamespace()
Returns the namespace of this plugin. |
public void |
ezcWebdavPluginConfiguration::init()
Initialize the plugin. |
Creates a new lock plugin configuration.
Name | Type | Description |
---|---|---|
$options |
ezcWebdavLockPluginOptions |
Returns the hooks this plugin wants to assign to.
This method is called by ezcWebdavPluginRegistry, as soon as the plugin is registered to be used. The method must return a structured array, representing the hooks the plugin want to be notified about.
The returned array must be of the following structure:
Method | Description |
---|---|
ezcWebdavPluginConfiguration::getHooks() |
Returns the hooks this plugin wants to assign to. |
Returns the namespace of this plugin.
The namespace of a plugin is a unique identifier string that allows it to be recognized bejond other plugins. The namespace is used to provide storage for the plugin in the
Method | Description |
---|---|
ezcWebdavPluginConfiguration::getNamespace() |
Returns the namespace of this plugin. |
Initialize the plugin.
This method is called after the server has be initialized to make the plugin setup necessary objects and to retreive necessary information from the server.
Method | Description |
---|---|
ezcWebdavPluginConfiguration::init() |
Initialize the plugin. |