Lines Matching +full:- +full:- +full:name +full:- +full:only
16 // note that only [a-z0-9]+ is officially supported,
17 // this is only to support plugins that don't follow these conventions, too
18 if (!defined('DOKU_PLUGIN_NAME_REGEX')) define('DOKU_PLUGIN_NAME_REGEX', '[a-zA-Z0-9\x7f-\xff]+');
28 * @param bool $all; true to retrieve all, false to retrieve only enabled plugins
35 $plugins = $plugin_controller->getList($type, $all);
42 * Returns only new instances of a plugin when $new is true or if plugin is not Singleton,
46 * @param $name string name of the plugin to load
51 function plugin_load($type, $name, $new = false, $disabled = false) argument
55 return $plugin_controller->load($type, $name, $new, $disabled);
61 * @param string $plugin name of plugin
68 return !$plugin_controller->isEnabled($plugin);
74 * @param string $plugin name of plugin
81 return $plugin_controller->enable($plugin);
87 * @param string $plugin name of plugin
94 return $plugin_controller->disable($plugin);
98 * Returns directory name of plugin
100 * @param string $plugin name of plugin
101 * @return string name of directory
102 * @deprecated 2018-07-20
119 return $plugin_controller->getCascade();
135 if (($ACT == 'admin') && ($page = $INPUT->str('page', '', true)) != '') {
142 if ($admin_plugin && !$admin_plugin->isAccessibleByCurrentUser()) {
144 $INPUT->remove('page');
145 msg('For admins only', -1);