/** * This method is executed after row object is loaded from database */ protected function afterLoad() { parent::afterLoad(); $this->oldFileId = $this->getData1(); }