Home
last modified time | relevance | path

Searched full:plugin (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/dokuwiki/inc/
H A Dpluginutils.php10 // 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, false to use an already lo…
49 * @return PluginInterface|null the plugin object or null on failure
59 * Whether plugin is disabled
[all …]
/dokuwiki/inc/Extension/
H A DPluginController.php19 /** @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 lo…
77 * @return PluginInterface|null the plugin object or null on failure
87 [$plugin, /* component */ ] = $this->splitName($name);
[all …]
H A DPluginInterface.php6 * DokuWiki Plugin Interface
21 * base - the plugin's base name (eg. the directory it needs to be installed in)
22 * author - Author of the plugin
24 * date - Last modified date of the plugin in YYYY-MM-DD format
25 * name - Name of the plugin
26 * desc - Short description of the plugin (Text only)
27 * url - Website with more information on the plugin (eg. syntax description)
32 * The type of the plugin inferred from the class name
34 * @return string plugin type
39 * The name of the plugin inferred from the class name
[all …]
H A DPluginTrait.php8 * Provides standard DokuWiki plugin behaviour
14 …protected $configloaded = false; // set to true by loadConfig() after loading plugin configura…
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 $name is not available or invalid.", -1);
[all …]
H A DPlugin.php6 * DokuWiki Base Plugin
8 * Most plugin types inherit from this class
10 abstract class Plugin implements PluginInterface class
H A DAdminPlugin.php6 * Admin Plugin Prototype
8 * Implements an admin interface in a plugin
13 abstract class AdminPlugin extends 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
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingRenderer.php9 namespace dokuwiki\plugin\config\core\Setting;
24 foreach (plugin_list('renderer') as $plugin) {
25 $renderer = plugin_load('renderer', $plugin);
27 $this->choices[] = $plugin;
30 $this->prompts[$plugin] = $info['name'];
38 public function html(\admin_plugin_config $plugin, $echo = false) argument
42 // transfer some plugin names to the config plugin
44 if (!$plugin->getLang($this->key . '_o_' . $choice)) {
46 $plugin->addLang(
48 sprintf($plugin->getLang('renderer__core'), $choice)
[all …]
H A DSettingDisableactions.php3 namespace dokuwiki\plugin\config\core\Setting;
11 public function html(\admin_plugin_config $plugin, $echo = false) argument
16 // transfer some DokuWiki language strings to the plugin
17 $plugin->addLang($this->key . '_revisions', $lang['btn_revs']);
19 …if (isset($lang['btn_' . $choice])) $plugin->addLang($this->key . '_' . $choice, $lang['btn_' . $c…
22 return parent::html($plugin, $echo);
H A DSettingAuthtype.php3 namespace dokuwiki\plugin\config\core\Setting;
17 foreach ($plugin_controller->getList('auth') as $plugin) {
18 $this->choices[] = $plugin;
35 // attempt to load the plugin
38 // @TODO: throw an error in plugin controller instead of returning null
41 msg('Cannot load Auth Plugin "' . $input . '"', -1);
45 …// verify proper instantiation (is this really a plugin?) @TODO use instanceof? implement interfac…
48 msg('Cannot create Auth Plugin "' . $input . '"', -1);
H A DSettingUndefined.php3 namespace dokuwiki\plugin\config\core\Setting;
5 use dokuwiki\plugin\config\core\Configuration;
22 public function html(\admin_plugin_config $plugin, $echo = false) argument
27 … '/^(?:plugin|tpl)' . Configuration::KEYMARKER . '.*?' . Configuration::KEYMARKER . '(.*)$/',
39 $input = $plugin->getLang($this->errorMessage);
/dokuwiki/lib/plugins/extension/_test/
H A DInstallerTest.php3 namespace dokuwiki\plugin\extension\test;
5 use dokuwiki\plugin\extension\Installer;
9 * Installer tests for the extension plugin
23 'either1' => ['either1', ['either1' => 'plugin']],
24 'eithersub2' => ['eithersub2', ['either2' => 'plugin']],
25 'plgfoo5' => ['plgfoo5', ['plugin5' => 'plugin']],
26 'plgsub3' => ['plgsub3', ['plugin3' => 'plugin']],
27 'plgsub4' => ['plgsub4', ['plugin4' => 'plugin']],
28 'plgsub6' => ['plgsub6', ['plugin6' => 'plugin']],
29 'plugin1' => ['plugin1', ['plugin1' => 'plugin']],
[all …]
H A DLocalTest.php3 namespace dokuwiki\plugin\extension\test;
5 use dokuwiki\plugin\extension\Extension;
6 use dokuwiki\plugin\extension\Local;
38 foreach ($plugins as $plugin) {
39 $this->assertInstanceOf(Extension::class, $plugin);
40 $this->assertFalse($plugin->isTemplate());
/dokuwiki/lib/plugins/extension/
H A Dhelper.php3 use dokuwiki\Extension\Plugin; alias
6 * DokuWiki Plugin extension (Helper Component)
8 * This component currently does nothing, except giving access to common plugin functionality
9 * like getLang() to be used in the plugin classes.
13 class helper_plugin_extension extends Plugin
/dokuwiki/lib/plugins/styling/
H A Dpopup.php10 /** @var admin_plugin_styling $plugin */
11 $plugin = plugin_load('admin', 'styling'); variable
12 if (!$plugin->isAccessibleByCurrentUser()) die('only admins allowed');
13 $plugin->ispopup = true;
16 $plugin->handle();
18 // output plugin in a very minimal template:
23 <title><?php echo $plugin->getLang('menu') ?></title>
29 <?php $plugin->html() ?>
/dokuwiki/bin/
H A Dplugin.php25 $options->setHelp('Excecutes Plugin command line tools');
26 …$options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', fals…
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 CLI
/dokuwiki/data/
H A Ddeleted.files120 inc/Plugin.php
194 lib/plugins/authmysql/plugin.info.txt
229 lib/plugins/authpgsql/plugin.info.txt
242 inc/plugin.php
505 lib/plugins/plugin/admin.php
506 lib/plugins/plugin/classes/ap_delete.class.php
507 lib/plugins/plugin/classes/ap_download.class.php
508 lib/plugins/plugin/classes/ap_enable.class.php
509 lib/plugins/plugin/classes/ap_info.class.php
510 lib/plugins/plugin/classes/ap_manage.class.php
[all …]
/dokuwiki/conf/
H A Dmysql.conf.php.example3 * 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']['authmysql']['TablesToLock']= array("users", "users AS u","groups", "groups AS g", …
[all …]
/dokuwiki/inc/Action/
H A DAdmin.php28 // 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/lib/plugins/config/lang/id-ni/
H A Dintro.txt3 Plugin da'e itolo ba wangehaogö fakake moroi ba DokuWiki. Fanolo bawamöfö'ö tesöndra tou [[doku>con…
5 Famöfö'ö zura furi la'a soyo no laproteksi, lötesöndra bakha ba Plugin andre. Famöfö'ö zura furi la…
/dokuwiki/lib/plugins/config/lang/de/
H A Dintro.txt3Plugin hilft Ihnen bei der Konfiguration von DokuWiki. Hilfe zu den einzelnen Einstellungen finden…
5 Einstellungen mit einem hellroten Hintergrund sind gesichert und können nicht mit diesem Plugin ver…
/dokuwiki/lib/plugins/extension/_test/testdata/plgsub6/plgfoo6/
H A Dplugin.info.txt5 name Dummy Plugin
6 desc Dummy plugin data
7 url http://example.com/plugin:plugin6
/dokuwiki/lib/plugins/extension/_test/testdata/plgfoo5/
H A Dplugin.info.txt5 name Dummy Plugin
6 desc Dummy plugin data
7 url http://example.com/plugin:plugin5
/dokuwiki/lib/plugins/extension/_test/testdata/plgsub4/plugin4/
H A Dplugin.info.txt5 name Dummy Plugin
6 desc Dummy plugin data
7 url http://example.com/plugin:plugin4
/dokuwiki/lib/plugins/extension/_test/testdata/plugin2/
H A Dplugin.info.txt5 name Dummy Plugin
6 desc Dummy Plugin data
7 url http://example.com/plugin:plugin2
/dokuwiki/lib/plugins/config/lang/lb/
H A Dintro.txt3Plugin hëlleft der bei der Konfiguratioun vun DokuWiki. Hëllef zu deenen eenzelnen Astellungen fën…
5 Astellungen mat engem hellrouden Hannergrond si geséchert a kënnen net mat dësem Plugin verännert g…

12345678910>>...19