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 */
45 /** @var string The top level namespace to iterate over */
46 protected string $namespace; variable in dokuwiki\\TreeBuilder\\PageTreeBuilder
55 * @param string $namespace The namespace to start from
58 public function __construct(string $namespace, int $maxdepth = -1) argument
60 $this->namespace = $namespace;
71 // add directly to top or add the namespace under the top element?
73 $parent = $this->createNamespaceNode($this->namespace, noNS($this->namespace));
77 // do not add the namespace's own startpage in this mode
78 $this->startpages[$this->getStartpage($this->namespace)] = 1;
86 $dir = $this->namespacePath($this->namespace);
153 * Create a namespace node based on the flags
163 $id = $this->getStartpage($id); // use the start page for the namespace
223 * Get the start page for the given namespace
225 * @param string $ns The namespace to get the start page for
235 * Get the file path for the given namespace relative to the page directory
237 * @param string $namespace
240 protected function namespacePath(string $namespace): string argument
245 $dir = wikiFN($namespace . ':xxx');
248 if ($dir === '.') $dir = ''; // dirname returns '.' for root namespace