示例#1
0
 /**
  * deleteAction
  * Delete a record previously selected by the reviews
  * @return unknown_type
  */
 public function deleteAction()
 {
     $id = $this->getRequest()->getParam('id');
     if (is_numeric($id) && !in_array($id, $this->readOnly)) {
         Legalforms::deleteItem($id);
     }
     return $this->_helper->redirector('index', 'legalforms');
 }