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,
|
||||
);
|
||||
|
||||
protected $supportsCustomVars = true;
|
||||
|
||||
protected function renderMethods_execute()
|
||||
{
|
||||
// Execute is a reserved word in SQL, column name was prefixed
|
||||
|
|
|
@ -36,6 +36,8 @@ class IcingaService extends IcingaObject
|
|||
|
||||
protected $supportsGroups = true;
|
||||
|
||||
protected $supportsCustomVars = true;
|
||||
|
||||
protected function renderCheck_command_id()
|
||||
{
|
||||
return $this->renderCommandProperty($this->check_command_id);
|
||||
|
|
|
@ -20,6 +20,8 @@ class IcingaUser extends IcingaObject
|
|||
|
||||
protected $supportsGroups = true;
|
||||
|
||||
protected $supportsCustomVars = true;
|
||||
|
||||
protected function renderEnable_notifications()
|
||||
{
|
||||
return $this->renderBooleanProperty('enable_notifications');
|
||||
|
|
Loading…
Reference in New Issue