/** * Saves attributes on initial model lookup */ public function afterFind() { $this->_oldAttributes = $this->getAttributes(); parent::afterFind(); }