blob: e1353f36dd3530920b26731df470f0a16ebc4356 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/* Copyright (C) 2017 Icinga Development Team <info@icinga.com> */
namespace Icinga\Module\Toplevelview\Controllers;
use Icinga\Module\Toplevelview\ViewConfig;
use Icinga\Module\Toplevelview\Web\Controller;
class IndexController extends Controller
{
public function indexAction()
{
$this->getTabs()->add(
'index',
array(
'title' => 'Top Level View',
'url' => 'toplevelview',
)
)->activate('index');
$this->view->views = ViewConfig::loadAll();
$this->setAutorefreshInterval(30);
}
}
|