$units
$units : integer
Units to display results in.
Horde_Service_Weather_Base class
$_forecast : \Horde_Service_Weather_Forecast_Base
Local cache of forecast
$_station : \Horde_Service_Weather_Station
Local cache of station data
getCurrentConditions(string $location) : \Horde_Service_Weather_Current_Base
Returns the current observations.
string | $location | The location string. |
getForecast(string $location, integer $length = \Horde_Service_Weather::FORECAST_3DAY, integer $type = \Horde_Service_Weather::FORECAST_TYPE_STANDARD) : \Horde_Service_Weather_Forecast_Base
Returns the forecast for the current location.
string | $location | The location code. |
integer | $length | The forecast length, a Horde_ServiceWeather::FORECAST* constant. |
integer | $type | The type of forecast to return, a Horde_Service_Weather::FORECASTTYPE* constant |
searchLocations(string $location, integer $type = \Horde_Service_Weather::SEARCHTYPE_STANDARD) : \Horde_Service_Weather_Station
Searches locations.
string | $location | The location string to search. |
integer | $type | The type of search to perform, a Horde_ServiceWeather::SEARCHTYPE* constant. |
The search location suitable to use directly in a weather request.
getStation() : \Horde_Service_Weather_Station
Returns the station information associated with the last request.
if not request has yet been made.