Update DataModel

Mark the modifying flag of all dependent properties when modifying the main property. Virtual properties are also flagged.
This commit is contained in:
Visman 2020-10-18 23:07:33 +07:00
parent d18aeff528
commit 79d068e8f0

View file

@ -130,6 +130,12 @@ class DataModel extends Model
)
) {
$this->zModFlags[$name] = true;
if (isset($this->zDepend[$name])) {
foreach ($this->zDepend[$name] as $dependent) {
$this->zModFlags[$dependent] = true; //???? может только физические свойства менять?
}
}
}
}