Services_Weather_Metar::setMetarDB

Services_Weather_Metar::setMetarDB() – Sets the parameters needed for connecting to the DB, where the location- search is fetching its data from. You need to build a DB with the external tool buildMetarDB first, it fetches the locations and airports from a NOAA-website.

Synopsis

require_once '/Weather/Metar.php';

DB_Error|bool Services_Weather_Metar::setMetarDB ( string $dsn , array $dbOptions = array() )

Description

This package is not documented yet.

Parameter

string $dsn

array $dbOptions

See

see DB::parseDSN

Throws

throws DB_Error

Note

This function can not be called statically.

Services_Weather_Metar::
searchLocationByCountry (Previous)
Services_Weather_Metar::setMetarSource (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.