public function setIsNewRecord($value) { $this->_oldAttributes = $value ? null : $this->_attributes; }