public function prepareView(\Nethgui\View\ViewInterface $view)
 {
     parent::prepareView($view);
     $this->notifications->defineTemplate('adminTodo', \NethServer\Module\AdminTodo::TEMPLATE, 'bg-yellow');
 }
Пример #2
0
 public function prepareView(\Nethgui\View\ViewInterface $view)
 {
     parent::prepareView($view);
     if ($this->moduleId) {
         $view['moduleView'] = $view[$this->moduleId];
         unset($view[$this->moduleId]);
     }
 }