Services_Weather_Metar::searchAirport()

Services_Weather_Metar::searchAirport()  --  Searches the nearest airport(s) for given coordinates, returns array of IDs or single ID

Referentiesamenvatting

require_once '/Weather/Metar.php';

PEAR_Error|array|string Services_Weather_Metar::searchAirport (float $latitude, float $longitude, int [$numResults = 1])

Beschrijving

Dit pakket in nog niet gedocumenteerd.

Parameter

float $latitude

float $longitude

integer $numResults

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

Deze functie kan niet statisch worden aangeroepen.