mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-04 04:39:34 -05:00
Controller: Extend ipl\Web\Compat\CompatController
This commit is contained in:
parent
8b2bac4e85
commit
96f94f9959
1 changed files with 2 additions and 10 deletions
|
|
@ -12,12 +12,12 @@ use Icinga\Module\Businessprocess\Web\Component\Controls;
|
|||
use Icinga\Module\Businessprocess\Web\Component\Content;
|
||||
use Icinga\Module\Businessprocess\Web\Component\Tabs;
|
||||
use Icinga\Module\Businessprocess\Web\Form\FormLoader;
|
||||
use Icinga\Web\Controller as ModuleController;
|
||||
use Icinga\Web\Notification;
|
||||
use Icinga\Web\View;
|
||||
use ipl\Html\Html;
|
||||
use ipl\Web\Compat\CompatController;
|
||||
|
||||
class Controller extends ModuleController
|
||||
class Controller extends CompatController
|
||||
{
|
||||
/** @var View */
|
||||
public $view;
|
||||
|
|
@ -173,14 +173,6 @@ class Controller extends ModuleController
|
|||
return $this;
|
||||
}
|
||||
|
||||
protected function setTitle($title)
|
||||
{
|
||||
$args = func_get_args();
|
||||
array_shift($args);
|
||||
$this->view->title = vsprintf($title, $args);
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function addTitle($title)
|
||||
{
|
||||
$args = func_get_args();
|
||||
|
|
|
|||
Loading…
Reference in a new issue