private function getSelectForums() { $data = null; try { $data = $this->forumService->getSelectForums(); } catch (Exceptions\DataErrorException $ex) { $this->handleDataLoad(null, ":System:Default:adminRoot", $ex); } return $data; }
public function deleteComment(ForumThreadComment $comm) { try { $this->forumService->deleteComment($comm, $this->getEntity()); } catch (Exceptions\DataErrorException $ex) { $this->handleDataDelete($comm->getId(), "this", $ex); } if ($this->isAjax()) { $this->redrawControl("commentsData"); } else { $this->redirect("this"); } }