DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:plugin_pluginmanager_pluginlist

This is an old revision of the document!


PLUGIN_PLUGINMANAGER_PLUGINLIST

Description:
Allow modification of the plugin list used by the config plugin
DefaultAction:
none
Preventable:
no
Added:
2009-01-19

The event is signalled by the plugin manager, lib/plugins/plugin/admin.php, after it retrieves the plugin list from the plugin controller. It can be used to filter the plugins handled by this plugin.

Passed Data

An indexed array of plugin names.

NOTE: The plugin list includes all plugins installed, including any disabled plugins. There is no indication in the list whether or not the plugin is currently disabled. To discover whether or not a plugin is disabled use either:

plugin_isdisabled('plugin_name');   // inc/pluginutils.php

// or
global $plugin_controller;
$plugin_controller->isdisabled('plugin_name');    // inc/pluginutils.php (maybe overridden in preload.php)

see inc/pluginutils.php.

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

  • FIXME

The event is designed to allow wiki farms to control visibility of plugins to administrators of the individual wikis that make up the farm.

See also

devel/event/plugin_pluginmanager_pluginlist.1364215367.txt.gz · Last modified: 2013-03-25 13:42 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki