示例#1
0
文件: AdminGrid.php 项目: venne/venne
 /**
  * @return \Venne\System\Components\NavbarControl
  */
 protected function createComponentNavbar()
 {
     $navbar = $this->navbarFactory ? $this->navbarFactory->create() : new NavbarControl();
     return $navbar;
 }
示例#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;
 }
示例#3
0
 protected function createComponentNavbar()
 {
     $control = $this->navbarControlFactory->create();
     $control->addSection('delete', 'Delete all', 'remove')->onClick[] = $this->handleDeleteAll;
     return $control;
 }