Services_Weather::service()

Services_Weather::service()  -- Factory for creating the services-objects

Synopsis

require_once '/Weather.php';

PEAR_Error|object& Services_Weather::service (string $service, array [$options = NULL])

Description

Usable keys for the options array are:

--- Common Options

--- EJSE Options

--- GlobalWeather Options

--- METAR Options

--- weather.com Options

Parameter

string $service

array $options

Throws

throws PEAR_Error

throws PEAR_Error::SERVICES_WEATHER_ERROR_SERVICE_NOT_FOUND

Note

This function can not be called statically.