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