public function formUpdateRelationType() { $model = new RelationType($this->data->id); $this->data->object = $model->getData(); $this->data->save = "@fnbr20/structure/relationtype/updateRelationType|formUpdateRelationType"; $this->data->close = "!\$('#formUpdate_dialog').dialog('close');"; $this->data->title = 'Relation Type: ' . $model->getEntry() . ' [' . $model->getName() . ']'; $this->render(); }