Lines Matching refs:base
44 protected string $base; variable in dokuwiki\\plugin\\extension\\Extension
82 [$type, $base] = $this->idToTypeBase($id);
84 $this->base = $base;
96 * @param string $base The base name of the extension, null for auto-detection
99 public static function createFromDirectory($dir, $type = null, $base = null) argument
102 $extension->initFromDirectory($dir, $type, $base);
106 protected function initFromDirectory($dir, $type = null, $base = null) argument
127 if ($base !== null) {
128 $this->base = $base;
130 $this->base = $this->localInfo['base'];
132 $this->base = $this->getBaseFromClass($dir) ?: basename($dir);
153 [$type, $base] = $this->idToTypeBase($data['plugin']);
156 $this->base = $base;
175 $id = self::TYPE_TEMPLATE . ':' . $this->base;
177 $id = $this->base;
190 return $this->base;
233 $dir = dirname(tpl_incdir()) . '/' . $this->base;
235 $dir = DOKU_PLUGIN . $this->base;
785 * Try to determine the extension's base name from a plugin class name
869 [$type, $base] = sexplode(':', $id, 2);
870 if ($base === null) {
871 $base = $type;
879 return [$type, $base];