/** * * @param string|NULL $delimiter * @return string */ public function getUrlRecursive($delimiter = NULL) { $recirsiveUrl = NULL; if ($this->parent) { $recirsiveUrl = $this->parent->getUrlRecursive(); } return $recirsiveUrl . $delimiter . $this->getUrl(); }
/** * Is item in active line as in crumb navigation. * * @return bool */ public function isInActive(INode $node) { $this->getCrumbNavigation(); return isset($this->crumbs[$node->getIndex()]); }