Changeset 915dc18 for src/webservice/htdocs/SiWeather
- Timestamp:
- Sep 17, 2015, 9:11:21 PM (11 years ago)
- Branches:
- master
- Children:
- a2330fc
- Parents:
- e498070
- Location:
- src/webservice/htdocs/SiWeather/Webservice
- Files:
-
- 2 edited
-
Location.php (modified) (1 diff)
-
WebserviceApi.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/webservice/htdocs/SiWeather/Webservice/Location.php
re498070 r915dc18 50 50 $this->setRegion($regionName, $regionCode); 51 51 $this->setCountry($countryName, $countryCode); 52 $this->setLocation($l ongitude, $latitude);52 $this->setLocation($latitude, $longitude); 53 53 $this->setTimezone($timeZone); 54 54 } -
src/webservice/htdocs/SiWeather/Webservice/WebserviceApi.php
re498070 r915dc18 203 203 } 204 204 if(!$validatedLocation){ 205 $message = "The city (". $json[ city] .") and location (". $json["latitude"] .", ". $json["longitude"] .") you send, does not suite with locations we found at your given location (city, latitude, longitude):\n";205 $message = "The city (". $json["city"] .") and location (". $json["latitude"] .", ". $json["longitude"] .") you send, does not suite with locations we found at your given location (city, latitude, longitude):\n"; 206 206 foreach($locations as $location){ 207 207 $message .= " ". $location->city() .": ". $location->latitude() .", ". $location->longitude() ."\n";
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/siweather/chrome/site/your_project_logo.png)