mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
DirectorObjectForm: experiments with inheritance
This commit is contained in:
parent
49042393bf
commit
8b9a212bf7
@ -307,6 +307,11 @@ $inherited = null; // Just testing
|
||||
return $this;
|
||||
}
|
||||
|
||||
$inherited = $this->object->getInheritedProperties();
|
||||
|
||||
foreach ($props as $k => $v) {
|
||||
$i = property_exists($inherited, $k) ? $inherited->$k : null;
|
||||
$this->setElementValue($k, $v, $i);
|
||||
}
|
||||
|
||||
if ($object->supportsGroups()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user