/dokuwiki/bin/ |
H A D | gittool.php | 41 'Tries to install a known plugin or template (prefix with template:) via git. Uses the DokuWiki.org ' . 42 'plugin repository to find the proper git repository. Multiple extensions can be given as parameters' 219 /** @var helper_plugin_extension_extension $plugin */ 220 $plugin = plugin_load('helper', 'extension_extension'); 221 if (!$ext) die("extension plugin not available, can't continue"); 223 $plugin->setExtension($ext); 225 $url = $plugin->getDownloadURL(); 234 $ok = $plugin->installFromURL($url); 278 * Looks in root, template and plugin directories only. 310 if (!$ext) die("extension plugin no [all...] |
H A D | plugin.php | 26 $options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', false); 43 $plugin = $this->loadPlugin($argv[0]); 44 if ($plugin instanceof CLIPlugin) { 45 $plugin->run(); 76 $plugin = $this->loadPlugin($name); 77 if (!$plugin instanceof CLIPlugin) continue; 78 $info = $plugin->getInfo(); 90 * Instantiate a CLI plugin 100 // execute the plugin CL [all...] |
/dokuwiki/conf/ |
H A D | mysql.conf.php.example | 3 * This is an example configuration for the mysql auth plugin. 26 $conf['plugin']['authmysql']['server'] = ''; 27 $conf['plugin']['authmysql']['user'] = ''; 28 $conf['plugin']['authmysql']['password'] = ''; 29 $conf['plugin']['authmysql']['database'] = ''; 31 /* This option enables debug messages in the mysql plugin. It is 34 $conf['plugin']['authmysql']['debug'] = 0; 41 $conf['plugin']['authmysql']['forwardClearPass'] = 0; 44 * the plugin which tables to lock. If you use any aliases for table names 48 $conf['plugin']['authmysq [all...] |
/dokuwiki/data/ |
H A D | deleted.files | 178 lib/plugins/authmysql/plugin.info.txt 213 lib/plugins/authpgsql/plugin.info.txt 226 inc/plugin.php 489 lib/plugins/plugin/admin.php 490 lib/plugins/plugin/classes/ap_delete.class.php 491 lib/plugins/plugin/classes/ap_download.class.php 492 lib/plugins/plugin/classes/ap_enable.class.php 493 lib/plugins/plugin/classes/ap_info.class.php 494 lib/plugins/plugin/classes/ap_manage.class.php 495 lib/plugins/plugin/classe [all...] |
/dokuwiki/inc/Action/ |
H A D | Admin.php | 28 // retrieve admin plugin name from $_REQUEST['page'] 30 /** @var AdminPlugin $plugin */ 31 if ($plugin = plugin_getRequestAdminPlugin()) { // FIXME this method does also permission checking 32 if (!$plugin->isAccessibleByCurrentUser()) { 35 $plugin->handle();
|
/dokuwiki/inc/ |
H A D | ErrorHandler.php | 60 $plugin = self::guessPlugin($e); 63 if ($plugin) $msg .= ' It might be a problem in the ' . $plugin . ' plugin.'; 176 * Checks the the stacktrace for plugin files
|
H A D | auth.php | 53 foreach ($plugin_controller->getList('auth') as $plugin) { 54 if ($conf['authtype'] === $plugin) { 55 $auth = $plugin_controller->load('auth', $plugin);
|
H A D | deprecated.php | 63 class setting extends \dokuwiki\plugin\config\core\Setting\Setting 68 dbg_deprecated(\dokuwiki\plugin\config\core\Setting\Setting::class); 77 class setting_authtype extends \dokuwiki\plugin\config\core\Setting\SettingAuthtype 82 dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingAuthtype::class); 91 class setting_string extends \dokuwiki\plugin\config\core\Setting\SettingString 96 dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingString::class);
|
H A D | indexer.php | 46 foreach ($data as $plugin => $vers) 47 $version .= '+' . $plugin . '=' . $vers;
|
H A D | pluginutils.php | 10 // plugin related constants 21 * Original plugin functions, remain for backwards compatibility 29 * @return array with plugin names or plugin component names 41 * Returns plugin object 42 * Returns only new instances of a plugin when $new is true or if plugin is not Singleton, 45 * @param $type string type of plugin to load 46 * @param $name string name of the plugin to load 47 * @param $new bool true to return a new instance of the plugin, fals 63 plugin_isdisabled($plugin) global() argument 76 plugin_enable($plugin) global() argument 89 plugin_disable($plugin) global() argument 103 plugin_directory($plugin) global() argument [all...] |
H A D | template.php | 162 // try to load admin plugin TOC 163 /** @var AdminPlugin $plugin */ 164 if ($plugin = plugin_getRequestAdminPlugin()) { 165 $toc = $plugin->getTOC(); 190 $plugin = null; 196 // attempt to load the plugin 197 /** @var AdminPlugin $plugin */ 198 $plugin = plugin_load('admin', $class); 202 if ($plugin instanceof PluginInterface) { 203 if (!is_array($TOC)) $TOC = $plugin [all...] |
/dokuwiki/inc/Extension/ |
H A D | AdminPlugin.php | 8 * Implements an admin interface in a plugin 34 * By default it tries to find an 'admin.svg' file in the plugin directory. 47 $plugin = $this->getPluginName(); 48 return DOKU_PLUGIN . $plugin . '/admin.svg'; 63 * Return true if the plugin should be shown in the admin menu 86 * Checks if access should be granted to this admin plugin 88 * @return bool true if the current user may access this admin plugin
|
H A D | EventHandler.php | 27 /** @var ActionPlugin $plugin */ 28 $plugin = null; 32 $plugin = plugin_load('action', $plugin_name); 34 if ($plugin instanceof PluginInterface) $plugin->register($this);
|
H A D | PluginController.php | 19 /** @var array all installed plugins and their enabled state [plugin=>enabled] */ 38 * the type of plugin to return, 45 * - plugin names when $type = '' 46 * - or plugin component names when a $type is given 71 * Loads the given plugin and creates an object of it 73 * @param $type string type of plugin to load 74 * @param $name string name of the plugin to load 75 * @param $new bool true to return a new instance of the plugin, false to use an already loaded instance 77 * @return PluginInterface|null the plugin object or null on failure 87 [$plugin, /* componen 148 isDisabled($plugin) global() argument 160 isEnabled($plugin) global() argument 171 disable($plugin) global() argument 184 enable($plugin) global() argument [all...] |
H A D | PluginTrait.php | 8 * Provides standard DokuWiki plugin behaviour 14 protected $configloaded = false; // set to true by loadConfig() after loading plugin configuration variables 15 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf() 27 throw new \RuntimeException('Class does not follow the plugin naming convention'); 30 // class like action_plugin_myplugin_ajax belongs to plugin 'myplugin' 38 'name' => $ext . ' plugin', 39 'desc' => 'Unknown purpose - bad plugin.info.txt', 43 $file = DOKU_PLUGIN . '/' . $ext . '/plugin.info.txt'; 56 Logger::error(sprintf('Extension %s does not provide a plugin.info.txt in %s', $ext, $file)); 74 if (is_null($obj) && $msg) msg("Helper plugin [all...] |
/dokuwiki/inc/Parsing/Handler/ |
H A D | Block.php | 142 if ($cname == 'plugin') { 144 $plugin = true; 148 $plugin = false; 151 if (in_array($cname, $this->stackClose) && (!$plugin || $plugin_close)) { 157 if (in_array($cname, $this->stackOpen) && (!$plugin || $plugin_open)) { 166 if (in_array($cname, $this->blockClose) && (!$plugin || $plugin_close)) { 172 if (in_array($cname, $this->blockOpen) && (!$plugin || $plugin_open)) {
|
/dokuwiki/inc/Parsing/Lexer/ |
H A D | Lexer.php | 268 [$handler, $plugin] = sexplode('_', $handler, 2, ''); 269 return $this->handler->$handler($content, $is_match, $pos, $plugin);
|
/dokuwiki/inc/Remote/ |
H A D | Api.php | 15 * The other is plugin methods. These are provided by remote plugins. 31 * plugin names are formed the following: 35 * plugin methods are formed like 'plugin.<plugin name>.<method name>'. 36 * i.e.: plugin.clock.getTime or plugin.clock_gmt.getTime 78 * @return ApiCall[] all plugin methods. 86 /** @var RemotePlugin $plugin */ 87 $plugin [all...] |
/dokuwiki/inc/parser/ |
H A D | handler.php | 111 * Similar to addCall, but adds a plugin call argument 113 * @param string $plugin name of the plugin 119 public function addPluginCall($plugin, $args, $state, $pos, $match) 121 $call = ['plugin', [$plugin, $args, $state, $match], $pos]; 278 * Special plugin handler 281 * An additional parameter with the plugin name is passed. The plugin's handle() 287 * @param string $pluginname name of the plugin 279 public function plugin($match, $state, $pos, $pluginname){ global() function in Doku_Handler [all...] |
H A D | renderer.php | 72 * Allow the plugin to prevent DokuWiki from reusing an instance 77 * @return bool false if the plugin has to be instantiated 112 * Handle plugin rendering 121 public function plugin($name, $data, $state = '', $match = '') 123 /** @var SyntaxPlugin $plugin */ 124 $plugin = plugin_load('syntax', $name); 125 if ($plugin != null) { 126 $plugin->render($this->getFormat(), $this, $data); 115 public function plugin($name, $data, $state = '', $match = '') { global() function in Doku_Renderer
|
/dokuwiki/lib/plugins/acl/ |
H A D | plugin.info.txt | 7 url http://dokuwiki.org/plugin:acl
|
/dokuwiki/lib/plugins/authad/ |
H A D | plugin.info.txt | 7 url http://www.dokuwiki.org/plugin:authad
|
/dokuwiki/lib/plugins/authldap/ |
H A D | plugin.info.txt | 7 url http://www.dokuwiki.org/plugin:authldap
|
/dokuwiki/lib/plugins/authpdo/ |
H A D | README | 5 All documentation for this plugin can be found at 6 https://www.dokuwiki.org/plugin:authpdo 8 If you install this plugin manually, make sure it is installed in
|
H A D | plugin.info.txt | 5 name authpdo plugin 7 url https://www.dokuwiki.org/plugin:authpdo
|