$this->view->area_data = $areatopoi_data; } elseif ($type == 'pusharea') { $this->getResponse()->setHeader('Content-Type', 'text/xml'); $areatopoi_data = $table_areatopoi->getPoiAreaId($poi_id); $this->view->area_data = $areatopoi_data; } elseif ($type == 'pushcategory') { $this->getResponse()->setHeader('Content-Type', 'text/xml'); $category_data = $table_categorytopoi->getCategoryIdByPoiId($poi_id); $this->view->category_data = $category_data;