blob: f0d4574c0ae5a16fba9edeb3adfaea04a162b74e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
namespace Icinga\Module\Director\Controllers;
use Icinga\Module\Director\Web\Controller\ActionController;
use Icinga\Module\Director\Web\Table\CustomvarVariantsTable;
class CustomvarController extends ActionController
{
public function variantsAction()
{
$varName = $this->params->getRequired('name');
$this->addSingleTab($this->translate('Custom Variable'))
->addTitle($this->translate('Custom Variable variants: %s'), $varName);
CustomvarVariantsTable::create($this->db(), $varName)->renderTo($this);
}
}
|