예제 #1
0
 /**
  * deleteAction
  * @author Daniel Rotter <*****@*****.**>
  * @version 1.0
  */
 public function deleteAction()
 {
     $this->core->logger->debug('widgets->blog->FormController->deleteAction()');
     try {
         $this->getModelBlogEntry();
         if ($this->objRequest->isPost() && $this->objRequest->isXmlHttpRequest()) {
             $this->objModelBlogEntry->deleteBlogEntry($this->objRequest->getParam('id'));
             $this->view->blnShowFormAlert = true;
         }
         $this->renderScript('blog/form.phtml');
     } catch (Exception $exc) {
         $this->core->logger->err($exc);
         exit;
     }
 }