public function save() { try { $model = new Transacao($this->data->id); $model->setData($this->data); $model->save(); $go = '>auth/transacao/formObject/' . $model->getId(); $this->renderPrompt('information', 'OK', $go); } catch (EControllerException $e) { $this->renderPrompt('error', $e->getMessage()); } }