private function insertAccount() { $this->account->setStatus(Gpf_Db_Account::APPROVED); try { $this->account->insert(); } catch (Exception $e) { throw new Gpf_Exception($this->_('Could not create account. (%s)', $e->getMessage())); } }
/** * @throws Gpf_DbEngine_Row_ConstraintException */ public function insert() { parent::insert(); $this->afterSave(); }