Lines Matching refs:node
140 $node = $this->createNamespaceNode($id, $subdir);
143 if ($depth !== 0 && $this->applyRecursionDecision($node, $this->maxdepth - $depth)) {
144 $this->createHierarchy($node, $dir . '/' . $subdir, $depth - 1);
148 $this->addNodeToHierarchy($parent, $node);
165 $node = new WikiStartpage($id, $title, $ns);
167 $node = new WikiNamespace($id, $title);
169 return $node;
210 * @param AbstractNode $node Node to add
213 protected function addNodeToHierarchy(AbstractNode $parent, AbstractNode $node): void argument
215 $node->setParent($parent); // set the parent even when not added, yet
216 $node = $this->applyNodeProcessor($node);
217 if ($node instanceof AbstractNode) {
218 $parent->addChild($node);
253 protected function applyRecursionDecision(AbstractNode $node, int $depth): bool argument
256 if (!$this->hasNotFlag(self::FLAG_KEEP_HIDDEN) && isHiddenPage($node->getId())) {
259 return parent::applyRecursionDecision($node, $depth);
263 protected function applyNodeProcessor(AbstractNode $node): ?AbstractNode argument
266 if (!$this->hasNotFlag(self::FLAG_KEEP_HIDDEN) && isHiddenPage($node->getId())) {
269 return parent::applyNodeProcessor($node);