Class Horde_Service_Weather_Wwo
Horde_Service_Weather_Wwo
- Horde_Service_Weather_Base
- Horde_Service_Weather_Wwo
Package: Service\Weather
Category: Horde
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Horde/Service/Weather/Wwo.php
Category: Horde
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Horde/Service/Weather/Wwo.php
public
|
|
public
Horde_Service_Weather_Current
|
|
public
|
#
getForecast( string $location, integer $length =
Obtain the forecast for the current location. |
public
string
|
#
searchLocations( string $location, integer $type =
Search for a valid location code. |
public
array
|
#
autocompleteLocation( string $search )
Searches for locations that begin with the text in $search. |
public
array
|
getStation(),
getUnits()
|
string |
API_URL
|
#
'http://free.worldweatheronline.com/feed/weather.ashx'
|
string |
SEARCH_URL
|
#
'http://www.worldweatheronline.com/feed/search.ashx'
|
public
string
|
$title
Title for the provider |
#
'World Weather Online'
|
public
string
|
$link
URL to the provider's site |
#
'http://worldweatheronline.com'
|
public
array
|
$iconMap
Icon map for wunderground. Not some are returned as "sky" conditions and some as "condition" icons. Public so it can be overridded in client code if desired. |
#
array(
'wsymbol_0001_sunny' => '32.png',
'wsymbol_0002_sunny_intervals' => '30.png',
'wsymbol_0003_white_cloud' => '26.png',
'wsymbol_0004_black_low_cloud' => '26.png',
'wsymbol_0006_mist' => '34.png',
'wsymbol_0007_fog' => '20.png',
'wsymbol_0008_clear_sky_night' => '33.png',
'wsymbol_0009_light_rain_showers' => '11.png',
'wsymbol_0010_heavy_rain_showers' => '12.png',
'wsymbol_0011_light_snow_showers' => '14.png',
'wsymbol_0012_heavy_snow_showers' => '16.png',
'wsymbol_0013_sleet_showers' => '7.png',
'wsymbol_0016_thundery_showers' => '0.png',
'wsymbol_0017_cloudy_with_light_rain' => '11.png',
'wsymbol_0018_cloudy_with_heavy_rain' => '12.png',
'wsymbol_0019_cloudy_with_light_snow' => '13.png',
'wsymbol_0020_cloudy_with_heavy_snow' => '16.png',
'wsymbol_0021_cloudy_with_sleet' => '8.png',
'wsymbol_0024_thunderstorms' => '0.png',
'wsymbol_0025_light_rain_showers_night' => '40.png',
'wsymbol_0026_heavy_rain_showers_night' => '30.png',
'wsymbol_0027_light_snow_showers_night' => '41.png',
'wsymbol_0028_heavy_snow_showers_night' => '42.png',
'wsymbol_0029_sleet_showers_night' => '7.png',
'wsymbol_0032_thundery_showers_night' => '47.png',
'wsymbol_0033_cloudy_with_light_rain_night' => '45.png',
'wsymbol_0034_cloudy_with_heavy_rain_night' => '45.png',
'wsymbol_0035_cloudy_with_light_snow_night' => '46.png',
'wsymbol_0036_cloudy_with_heavy_snow_night' => '46.png',
'wsymbol_0037_cloudy_with_sleet_night' => '8.png',
'wsymbol_0040_thunderstorms_night' => '47.png'
)
|
$logo,
$units
|