Lines Matching +full:namespace -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
3 namespace dokuwiki\TreeBuilder;
20 * associated with the namespace's start page.
39 /** @var int The given namespace should be added as top element */
42 /** @var string The top level namespace to iterate over */
43 protected string $namespace; variable in dokuwiki\\TreeBuilder\\PageTreeBuilder
52 * @param string $namespace The namespace to start from
55 public function __construct(string $namespace, int $maxdepth = -1) argument
57 $this->namespace = $namespace;
68 // add directly to top or add the namespace under the top element?
70 $parent = $this->createNamespaceNode($this->namespace, noNS($this->namespace));
74 // do not add the namespace's own startpage in this mode
75 $this->startpages[$this->getStartpage($this->namespace)] = 1;
83 $dir = $this->namespacePath($this->namespace);
145 * Create a namespace node based on the flags
155 $id = $this->getStartpage($id); // use the start page for the namespace
210 * Get the start page for the given namespace
212 * @param string $ns The namespace to get the start page for
222 * Get the file path for the given namespace relative to the page directory
224 * @param string $namespace
227 protected function namespacePath(string $namespace): string argument
232 $dir = wikiFN($namespace . ':xxx');
235 if ($dir === '.') $dir = ''; // dirname returns '.' for root namespace