コード例 #1
0
ファイル: IndexController.php プロジェクト: e-lev777/weather
 public function changeCountryAction()
 {
     $request = new Request();
     $model = new WeatherModel();
     $country_list = $model->getXmlYandexCities();
     $data = Weather::changeCountries($request->post('country_name'), $country_list['cities_source']);
     return $data;
 }