protected function buildNavBar() { $this->navbar->popEntry(); $title = $this->newsletter->getCampaignTitle(); $link = sprintf('Newsletter/Details?id=%s', $this->newsletter->id); $this->navbar->createEntry($title, $link); $this->navbar->createEntry($this->getTitle()); }
protected function buildNavBar() { $this->navbar->popEntry(); $this->navbar->addEntry(new SwatNavBarEntry($this->newsletter->getCampaignTitle(), sprintf('Newsletter/Details?id=%s', $this->newsletter->id))); $this->navbar->addEntry(new SwatNavBarEntry(Deliverance::_('Send Preview'))); }