public function getWastagesVsReportingAction() { $return = array(); $year = $this->_request->getParam('year', ''); $month = $this->_request->getParam('month', ''); $province = $this->_request->getParam('province', ''); $product = $this->_request->getParam('product', ''); $geoModel = new Model_Geo(); $return[0] = $geoModel->getWastagesDistrict($year, $month, $province, $product); $return[1] = $geoModel->getReportingDistrict($year, $month, $province); echo Zend_Json::encode($return); }