Esempio n. 1
0
 public function delCatAction()
 {
     if ($this->getRequest()->isSecure()) {
         $categoryMapper = new CategoryMapper();
         $categoryMapper->delete($this->getRequest()->getParam('id'));
         $this->addMessage('deleteSuccess');
         $this->redirect(array('action' => 'index'));
     }
 }