Lines Matching full:plugin

9  * Provides standard DokuWiki plugin behaviour
15 …protected $configloaded = false; // set to true by loadConfig() after loading plugin configura…
16 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf()
28 throw new \RuntimeException('Class does not follow the plugin naming convention');
31 // class like action_plugin_myplugin_ajax belongs to plugin 'myplugin'
39 'name' => $ext . ' plugin',
40 'desc' => 'Unknown purpose - bad plugin.info.txt',
44 $file = DOKU_PLUGIN . '/' . $ext . '/plugin.info.txt';
57 … Logger::error(sprintf('Extension %s does not provide a plugin.info.txt in %s', $ext, $file));
75 if (is_null($obj) && $msg) msg("Helper plugin $name is not available or invalid.", -1);
126 // plugin-bundled locale files are authored in DokuWiki syntax; render
137 $plugin = $this->getPluginName();
138 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
140 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
143 $file = DOKU_PLUGIN . $plugin . '/lang/en/' . $id . '.' . $ext;
161 // don't include once, in case several plugin components require the same language file
163 foreach ($config_cascade['lang']['plugin'] as $config_file) {
171 foreach ($config_cascade['lang']['plugin'] as $config_file) {
210 $plugin = $this->getPluginName();
213 if (isset($conf['plugin'][$plugin][$key])) continue;
214 $conf['plugin'][$plugin][$key] = $value;
218 $this->conf =& $conf['plugin'][$plugin];
222 * read the plugin's default configuration settings from conf/default.php