/** * @see \cms\data\page\PageNodeTree::isIncluded() */ protected function isIncluded(PageNode $pageNode) { if ($pageNode->invisible) { return false; } return parent::isIncluded($pageNode); }
/** * @see \cms\data\page\PageNodeTree::isIncluded() */ public function isIncluded(PageNode $pageNode) { if ($pageNode->pageID == $this->drainedID) { return false; } return parent::isIncluded($pageNode); }