Пример #1
0
 public function addNewzoneAction()
 {
     if ($this->getRequest()->isPost()) {
         $data = $this->getRequest()->getPost();
         $data['status'] = 1;
         $db_co = new Other_Model_DbTable_DbZone();
         $id = $db_co->addZone($data);
         print_r(Zend_Json::encode($id));
         exit;
     }
 }