/** * * Marks the struct and its parents as dirty. * * @return void * */ protected function _setIsDirty() { // set this struct as dirty $this->_is_dirty = true; // set the parent struct as dirty too if ($this->_parent) { $this->_parent->_setIsDirty(); } }