IcingaCommand,Service,User: support custom vars

This commit is contained in:
Thomas Gelf 2015-06-24 10:13:27 +02:00
parent 1bdeff3474
commit b75029c5aa
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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);

View File

@ -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');