Beispiel #1
0
 /**
  * @return \Venne\System\Components\NavbarControl
  */
 protected function createComponentNavbar()
 {
     $navbar = $this->navbarFactory ? $this->navbarFactory->create() : new NavbarControl();
     return $navbar;
 }
Beispiel #2
0
 /**
  * @return \Venne\System\Components\NavbarControl
  */
 protected function createComponentNavbar()
 {
     $control = $this->navbarControlFactory->create();
     $control->addSection('new', 'Run new Worker')->onClick[] = $this->navbarWorkerClick;
     return $control;
 }
Beispiel #3
0
 protected function createComponentNavbar()
 {
     $control = $this->navbarControlFactory->create();
     $control->addSection('delete', 'Delete all', 'remove')->onClick[] = $this->handleDeleteAll;
     return $control;
 }