IcingaHost: define relations

This commit is contained in:
Thomas Gelf 2015-12-03 14:20:13 +01:00
parent 9d6197e9c8
commit 8d173b9602
1 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,14 @@ class IcingaHost extends IcingaObject
'object_type' => null,
);
protected $relations = array(
'check_command' => 'IcingaCommand',
'event_command' => 'IcingaCommand',
'check_period' => 'IcingaTimePeriod',
'command_endpoint' => 'IcingaEndpoint',
'zone' => 'IcingaZone',
);
protected $supportsCustomVars = true;
protected $supportsGroups = true;