Lines Matching refs:plugins

8  * Class to encapsulate access to dokuwiki plugins
15 /** @var array the types of plugins DokuWiki supports */
19 /** @var array all installed plugins and their enabled state [plugin=>enabled] */
25 * Populates the master list of plugins
35 * Returns a list of available plugins of given type
41 * false to only return enabled plugins,
42 * true to return both enabled and disabled plugins
76 * @param $disabled bool true to load even disabled plugins
84 //we keep all loaded plugins available in global scope for reuse
200 * Read all installed plugins and their current enabled state
227 * and returns the entries of the $plugins array set in these files
230 * @return array with entries of the $plugins arrays of the included files
234 $plugins = [];
240 return $plugins;
244 * Save the current list of plugins
267 $out .= "\$plugins['$plugin'] = $value;\n";
283 * Rebuild the set of local plugins
285 * @return array array of plugins to be saved in end($config_cascade['plugins']['local'])
305 * Build the list of plugins and cascade
312 if (array_key_exists($type, $config_cascade['plugins'])) {
313 $this->pluginCascade[$type] = $this->checkRequire($config_cascade['plugins'][$type]);
316 $local = $config_cascade['plugins']['local'];
334 * @param bool $enabled true to return enabled plugins,
335 * false to return disabled plugins
343 $plugins = [];
347 $plugins[] = $plugin;
359 $plugins[] = $plugin . '_' . substr($component, 0, -4);
367 return $plugins;
399 * Initialize vendor autoloaders for all plugins that have them
403 $plugins = $this->getList();
404 foreach ($plugins as $plugin) {