예제 #1
0
 public function delFaqAction()
 {
     if ($this->getRequest()->isSecure()) {
         $faqMapper = new FaqMapper();
         $faqMapper->delete($this->getRequest()->getParam('id'));
         $this->addMessage('deleteSuccess');
     }
     $this->redirect(array('action' => 'index'));
 }