Lines Matching refs:plugin
3 namespace dokuwiki\plugin\dev;
8 * This class holds basic information about a plugin or template and uses the skeleton files to
9 * create new plugin or template specific versions of them.
18 const TYPE_PLUGIN = 'plugin';
54 $this->url = $url ?: 'https://www.dokuwiki.org/plugin:' . $base;
63 * Create an instance using an existing plugin or template directory
70 if (file_exists($dir . '/plugin.info.txt')) {
75 throw new RuntimeException('Not a plugin or template directory');
100 * Add the basic files to the plugin
111 * Add another component to the plugin
126 $plugin = $this->base;
130 $class = $type . '_plugin_' . $plugin . '_' . $component;
131 $self = 'plugin_' . $plugin . '_' . $component;
134 $class = $type . '_plugin_' . $plugin;
135 $self = 'plugin_' . $plugin;
268 * @param string $target File name in the final plugin/template, empty for same as skeleton