コード例 #1
0
 /**
  * deleteAction
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 public function deleteAction()
 {
     $this->core->logger->debug('properties->controllers->LocationController->deleteAction()');
     $this->getModelLocations();
     if ($this->getRequest()->isPost() && $this->getRequest()->isXmlHttpRequest()) {
         $objRequest = $this->getRequest();
         $this->objModelLocations->deleteLocation($objRequest->getParam("id"));
         $this->view->blnShowFormAlert = true;
     }
     $this->renderScript('location/form.phtml');
 }