public function __set($propertyName, $value) { if ($this->properties['name'] != '' && $propertyName == 'name' && $this->properties['name'] != $value) { $this->savedPropertyValues['name'] = $this->properties['name']; $this->dirty['renameTable'] = true; } parent::__set($propertyName, $value); }