mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
IcingaCommand,Service,User: support custom vars
This commit is contained in:
parent
1bdeff3474
commit
b75029c5aa
@ -18,6 +18,8 @@ class IcingaCommand extends IcingaObject
|
|||||||
'object_type' => null,
|
'object_type' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
protected $supportsCustomVars = true;
|
||||||
|
|
||||||
protected function renderMethods_execute()
|
protected function renderMethods_execute()
|
||||||
{
|
{
|
||||||
// Execute is a reserved word in SQL, column name was prefixed
|
// Execute is a reserved word in SQL, column name was prefixed
|
||||||
|
@ -36,6 +36,8 @@ class IcingaService extends IcingaObject
|
|||||||
|
|
||||||
protected $supportsGroups = true;
|
protected $supportsGroups = true;
|
||||||
|
|
||||||
|
protected $supportsCustomVars = true;
|
||||||
|
|
||||||
protected function renderCheck_command_id()
|
protected function renderCheck_command_id()
|
||||||
{
|
{
|
||||||
return $this->renderCommandProperty($this->check_command_id);
|
return $this->renderCommandProperty($this->check_command_id);
|
||||||
|
@ -20,6 +20,8 @@ class IcingaUser extends IcingaObject
|
|||||||
|
|
||||||
protected $supportsGroups = true;
|
protected $supportsGroups = true;
|
||||||
|
|
||||||
|
protected $supportsCustomVars = true;
|
||||||
|
|
||||||
protected function renderEnable_notifications()
|
protected function renderEnable_notifications()
|
||||||
{
|
{
|
||||||
return $this->renderBooleanProperty('enable_notifications');
|
return $this->renderBooleanProperty('enable_notifications');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user