Lines Matching defs:base
25 private $base;
78 $this->base = $id;
81 $this->base = substr($id, 9);
181 return $this->base != $this->getBase();
198 return $plugin_controller->isEnabled($this->base);
246 return $this->base;
257 if (!empty($this->localInfo['base'])) return $this->localInfo['base'];
258 return $this->base;
270 return $this->base;
370 * @return array The base names of the dependencies
381 * @return array The base names of the missing dependencies
597 * Get the base path of the extension
599 * @return string The base path of the extension
604 return $this->tpllib . $this->base;
606 return DOKU_PLUGIN . $this->base;
741 if ($plugin_controller->enable($this->base)) {
762 if ($plugin_controller->disable($this->base)) {
801 $plugin = plugin_load($type, $this->base);
809 $plugin = plugin_load($type, $this->base . '_' . substr($cp, 0, -4));
1000 * @param string $base The basename of the plugin if it's known
1004 public function installArchive($file, $overwrite = false, $base = '')
1013 // add default base folder if specified to handle case where zip doesn't contain this
1014 if ($base && !@mkdir($tmp . '/' . $base)) {
1019 $this->decompress($file, "$tmp/" . $base);
1021 // search $tmp/$base for the folder(s) that has been created
1025 if (!$this->findFolders($result, $tmp . '/' . $base, $default)) {
1049 if (!empty($item['base'])) {
1050 // use base set in info.txt
1051 } elseif ($base && count($install) == 1) {
1052 $item['base'] = $base;
1057 $item['base'] = basename($item['tmp']);
1061 $target = $target_base_dir . $item['base'];
1065 msg(sprintf($this->getLang('msg_nooverwrite'), $item['base']));
1074 $id = $item['base'];
1079 'base' => $item['base'],
1086 '<bdi>' . $item['base'] . '</bdi>'
1104 * as indicator for a root folder. When such a file is found, it's base
1147 $info['base'] = basename($conf['base']);
1301 $extensiondir = $extensiondir . $extension['base'] . '/';