Ejemplo n.º 1
0
 /**
  * deleteunitAction
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 public function deleteunitAction()
 {
     $this->core->logger->debug('properties->controllers->ContactController->deleteunitAction()');
     $this->getModelContacts();
     if ($this->getRequest()->isPost() && $this->getRequest()->isXmlHttpRequest()) {
         $objRequest = $this->getRequest();
         $this->objModelContacts->deleteUnitNode($objRequest->getParam("id"));
         $this->view->blnShowFormAlert = true;
     }
     $this->renderScript('contact/form.phtml');
 }