/** * Vraci presenter pro moznost generovani linku v templatach emailu * @return \Nette\Application\UI\Presenter */ private function getPresenter() { return $this->presenterBridge->getPresenter(); }
/** * @return string */ public function getUrl() { return $this->presenterBridge->getPresenter()->link($this->getPresenter(), $this->getParams()); }
/** * @return array */ protected function getCurrentPositionMap() { $presenter = $this->presenterBridge->getPresenter(); $finder = new CurrentMenuItemFinder($this->tree, $presenter->getAction(TRUE), $presenter->getParameters(), $this->menuLinkComparator); return $finder->buildCurrentPositionMap(); }