public function createForum(ArrayHash $values) { try { $f = new Forum((array) $values); $f->setEditor($this->getUser()->getIdentity()); $this->forumService->createForum($f); } catch (Exceptions\DataErrorException $ex) { $this->handleDataSave(null, "this", $ex); } $this->redirect("default"); }