protected function _beforeSave() { if ($this->getData('moneybooker_email')) { $this->setData('email', $this->getData('moneybooker_email')); } if ($this->getData('moneybooker_transaction_id')) { $this->setData('transaction_id', $this->getData('moneybooker_transaction_id')); } return parent::_beforeSave(); }