Returns the forecast for the current location.
public getForecast ( string $location, integer $length = Horde_Service_Weather::FORECAST_3DAY, integer $type = Horde_Service_Weather::FORECAST_TYPE_STANDARD ) : Horde_Service_Weather_Forecast_Base | ||
$location | string | The location code. |
$length | integer | The forecast length, a Horde_Service_Weather::FORECAST_* constant. (Ignored) |
$type | integer | The type of forecast to return, a Horde_Service_Weather::FORECAST_TYPE_* constant (Ignored) |
return | Horde_Service_Weather_Forecast_Base |