Services_Weather_Metar::setMetarDB

Services_Weather_Metar::setMetarDB() – DB に接続するために必要なパラメータを設定する。検索時にここからデータを取得する。 まず DB を外部ツール buildMetarDB とともにビルドする必要があり、 これが NOAA のウェブサイトから場所情報および空港情報を取得する

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

DB::parseDSN も参照ください。

Throws

throws DB_Error

Note

This function can not be called statically.