프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$isLocationReliable | boolean | True if the last fetched location was reliable |
메소드 | 설명 | |
---|---|---|
getWeatherData ( string $location ) : array | Retrieve TWCi Content | |
getWeatherLocation ( string $location ) : string | boolean | Tries to find the api-readable id of the given location returns the location if found, false if not found | |
onCommandWeather ( string $location ) : void | Returns a weather report for a specified location. | |
onLoad ( ) : void | Checks for dependencies. |
메소드 | 설명 | |
---|---|---|
getWeatherReport ( string $location ) : void | Generates a weather report for a specified location |
public getWeatherData ( string $location ) : array | ||
$location | string | place to retrieve weather data for |
리턴 | array | weather conditions |
protected getWeatherReport ( string $location ) : void | ||
$location | string | |
리턴 | void |
public onCommandWeather ( string $location ) : void | ||
$location | string | Zip code or city/state/country specification |
리턴 | void |
protected bool $isLocationReliable | ||
리턴 | boolean |