mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-23 20:52:52 -05:00
Controller: fix class usage, add new helper
This commit is contained in:
parent
9c22289bf3
commit
5b9748c208
1 changed files with 8 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Controller extends ModuleController
|
|||
protected function actions()
|
||||
{
|
||||
if ($this->view->actions === null) {
|
||||
$this->view->actions = ActionBar::create();
|
||||
$this->view->actions = new ActionBar();
|
||||
}
|
||||
|
||||
return $this->view->actions;
|
||||
|
|
@ -195,6 +195,13 @@ class Controller extends ModuleController
|
|||
return $bp;
|
||||
}
|
||||
|
||||
protected function doNotRender()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function loadBpConfig()
|
||||
{
|
||||
$name = $this->params->get('config');
|
||||
|
|
|
|||
Loading…
Reference in a new issue