mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
6802c0a9e4
commit
1788cc9b6a
@ -92,7 +92,7 @@ class NavigationItem implements Countable, IteratorAggregate
|
|||||||
/**
|
/**
|
||||||
* View
|
* View
|
||||||
*
|
*
|
||||||
* @var View|null
|
* @var View
|
||||||
*/
|
*/
|
||||||
protected $view;
|
protected $view;
|
||||||
|
|
||||||
@ -422,15 +422,16 @@ class NavigationItem implements Countable, IteratorAggregate
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the view
|
* Return the view
|
||||||
*
|
*
|
||||||
* @return View
|
* @return View
|
||||||
*/
|
*/
|
||||||
public function getView()
|
public function getView()
|
||||||
{
|
{
|
||||||
if ($this->view === null) {
|
if ($this->view === null) {
|
||||||
$this->view = Icinga::app()->getViewRenderer()->view;
|
$this->setView(Icinga::app()->getViewRenderer()->view);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->view;
|
return $this->view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user