Groups: Add groups support to User, Host and Service

This commit is contained in:
Alexander Fuhr 2015-06-16 17:51:01 +02:00
parent fe1994000f
commit 193cb60604
3 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,8 @@ class IcingaHost extends IcingaObject
protected $supportsCustomVars = true;
protected $supportsGroups = true;
protected function renderCheck_command_id()
{
return $this->renderCommandProperty($this->check_command_id);

View File

@ -34,6 +34,8 @@ class IcingaService extends IcingaObject
'object_type' => null,
);
protected $supportsGroups = true;
protected function renderCheck_command_id()
{
return $this->renderCommandProperty($this->check_command_id);

View File

@ -18,6 +18,8 @@ class IcingaUser extends IcingaObject
'object_type' => null,
);
protected $supportsGroups = true;
protected function renderEnable_notifications()
{
return $this->renderBooleanProperty('enable_notifications');