public function getNonReportedUcsAction() { $year = $this->_request->getParam('year', ''); $month = $this->_request->getParam('month', ''); $province = $this->_request->getParam('province', ''); $district = $this->_request->getParam('district', ''); $tehsil = $this->_request->getParam('tehsil', ''); $geoModel = new Model_Geo(); if ($district != "") { $return = $geoModel->getNonReportedUcsByDistrict($month, $year, $province, $district); } else { $return = $geoModel->getNonReportedUcsByTehsil($month, $year, $province, $tehsil); } echo Zend_Json::encode($return); }