Пример #1
0
 public function getColdChainAssetDetailAction()
 {
     $district = $this->_request->getParam('district', '');
     $tehsil = $this->_request->getParam('tehsil', '');
     $type = $this->_request->getParam('type', '');
     $geoModel = new Model_Geo();
     if ($district != "") {
         $return = $geoModel->getColdChainAssetDistrict($district, $type);
     } else {
         $return = $geoModel->getColdChainAssetTehsil($tehsil, $type);
     }
     echo Zend_Json::encode($return);
 }