Example #1
0
 /**
  * Deletes an actor linked to matter from matter_actor_lnk
  * *
  */
 public function deleteMatterActorAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     if (!$this->getRequest()->isPost()) {
         return;
     }
     $mal_id = $this->getRequest()->getPost('mal_id');
     $matterModel = new Application_Model_Matter();
     $result = $matterModel->deleteMatterActor($mal_id);
     echo $result;
 }