Static Public Member Functions |
| static | onEnable ($pluginId) |
| static | onDisable ($pluginId) |
Constructor & Destructor Documentation
Member Function Documentation
| deactivationWarning |
( |
|
$context | ) |
|
Return a warning message to be printed before deactivation of this plugin in the given context.
- Parameters
-
Reimplemented in AbstractStudIPStandardPlugin.
Return the ID of this plugin.
Return the filesystem path to this plugin.
Return the URL of this plugin. Can be used to refer to resources (images, style sheets, etc.) inside the installed plugin package.
| isActivated |
( |
|
$context = NULL | ) |
|
Get the activation status of this plugin in the given context. This also checks the plugin default activations.
- Parameters
-
| $context | context range id (optional) |
Reimplemented in AbstractStudIPStandardPlugin.
| static onDisable |
( |
|
$pluginId | ) |
|
|
static |
Callback function called after disabling a plugin. The plugin's ID is transmitted for convenience.
- Parameters
-
| $pluginId | string The ID of the plugin just disabled. |
| static onEnable |
( |
|
$pluginId | ) |
|
|
static |
Callback function called after enabling a plugin. The plugin's ID is transmitted for convenience.
- Parameters
-
| $pluginId | string The ID of the plugin just enabled. |
| perform |
( |
|
$unconsumed_path | ) |
|
This method dispatches all actions.
- Parameters
-
| string | part of the dispatch path that was not consumed |
- Returns
- void
Reimplemented in AbstractStudIPLegacyPlugin.
Field Documentation
The documentation for this class was generated from the following file: