Services_Weather_Metar::searchLocation

Services_Weather_Metar::searchLocation() – 指定した場所の ID を探し、結果の配列あるいは単一の ID を返す

Synopsis

require_once '/Weather/Metar.php';

PEAR_Error|array|string Services_Weather_Metar::searchLocation ( string|array $location , bool $useFirst = = false )

Description

This package is not documented yet.

Parameter

string|array $location

boolean $useFirst

設定した場合は、結果の配列の最初の ID を返します。

Throws

throws PEAR_Error::SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION

throws PEAR_Error::SERVICES_WEATHER_ERROR_DB_NOT_CONNECTED

throws PEAR_Error::SERVICES_WEATHER_ERROR_INVALID_LOCATION

Note

This function can not be called statically.

指定した座標に最も近い空港を探し、ID の配列あるいは単一の ID を返す (Previous) 指定した国の ID と地名、あるいは値を指定しなかった場合はすべての国を返す (Next)
Last updated: Thu, 24 Jul 2014 — 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.