IcingaObjects: add missing relations

This commit is contained in:
Thomas Gelf 2016-04-01 17:18:09 +02:00
parent 7eb7f1324c
commit 9d4ee40575
2 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,10 @@ class IcingaTimePeriod extends IcingaObject
protected $supportsRanges = true;
protected $relations = array(
'zone' => 'IcingaZone',
);
/**
* Render update property
*

View File

@ -35,4 +35,9 @@ class IcingaUser extends IcingaObject
'states' => 'StateFilterSet',
'types' => 'TypeFilterSet',
);
protected $relations = array(
'period' => 'IcingaTimePeriod',
'zone' => 'IcingaZone',
);
}