Class Horde_Service_Weather_Google
Horde_Service_Weather_Google.
- Horde_Service_Weather_Base
- Horde_Service_Weather_Google
Package: Service\Weather
Category: Horde
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Horde/Service/Weather/Google.php
Category: Horde
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Horde/Service/Weather/Google.php
public
|
|
public
Horde_Service_Weather_Current
|
|
public
|
#
getForecast( string $location, integer $length =
Returns the forecast for the current location. |
public
string
|
#
searchLocations( string $location, integer $type =
Searches for a valid location code. |
public
array
|
autocompleteLocation(),
getStation(),
getUnits()
|
string |
API_URL
|
#
'http://www.google.com/ig/api'
|
public
integer
|
$internalUnits
Holds the units that Google actually returns the results in. |
|
public
string
|
$title
Title for the provider |
#
'Google Weather'
|
public
string
|
$link
URL to the provider's site |
#
'http://google.com'
|
public
array
|
$iconMap
Icon map for wunderground. |
#
array(
'chance_of_rain' => '11.png',
'chance_of_snow' => '14.png',
'chance_of_storm' => '3.png',
'chance_of_tstorm' => '3.png',
'clear' => '32.png',
'cloudy' => '26.png',
'flurries' => '14.png',
'fog' => '20.png',
'haze' => '21.png',
'mostly_cloudy' => '28.png',
'mostly_sunny' => '34.png',
'partly_cloudy' => '30.png',
'partlysunny' => '30.png',
'sleet' => '10.png',
'rain' => '12.png',
'snow' => '16.png',
'sunny' => '32.png',
'thunderstorm' => '3.png',
'storm' => '12.png',
'mist' => '29.png',
'icy' => '7.png',
'dust' => '19.png',
'smoke' => '22.png'
)
|
$logo,
$units
|