Exemple #1
0
 protected function buildNavBar()
 {
     parent::buildNavBar();
     // put edit entry at the end
     $title = $this->navbar->popEntry();
     $this->helper->buildNavBar($this->navbar);
     $this->navbar->addEntry($title);
 }
Exemple #2
0
 protected function buildNavBar()
 {
     parent::buildNavBar();
     // put add/edit title entry at the end
     $title = $this->navbar->popEntry();
     // Add dummy entry. The CMEOptionHelper will remove this. All other
     // option admin components have a details component in the nav bar.
     if ($this->isNew()) {
         $this->navbar->createEntry('');
     }
     $this->helper->buildNavBar($this->navbar);
     // remove dummy entry.
     if ($this->isNew()) {
         $this->navbar->popEntry();
     }
     $this->navbar->addEntry($title);
 }
Exemple #3
0
 protected function buildNavBar()
 {
     parent::buildNavBar();
     $this->helper->buildNavBar($this->navbar);
 }