Object/IcingaHost: Add boolean render methods to affected properties

This commit is contained in:
Alexander Fuhr 2015-06-12 10:47:05 +02:00
parent f354d3c034
commit 7e815e70d7
1 changed files with 30 additions and 0 deletions

View File

@ -42,8 +42,38 @@ class IcingaHost extends IcingaObject
return $this->renderCommandProperty($this->check_command_id);
}
protected function renderEnable_notifications()
{
return $this->renderBooleanProperty('enable_notifications');
}
protected function renderEnable_active_checks()
{
return $this->renderBooleanProperty('enable_active_checks');
}
protected function renderEnable_passive_checks()
{
return $this->renderBooleanProperty('enable_passive_checks');
}
protected function renderEnable_event_handler()
{
return $this->renderBooleanProperty('enable_event_handler');
}
protected function renderEnable_flapping()
{
return $this->renderBooleanProperty('enable_passive_checks');
}
protected function renderEnable_perfdata()
{
return $this->renderBooleanProperty('enable_perfdata');
}
protected function rendervolatile()
{
return $this->renderBooleanProperty('volatile');
}
}