Services_Weather_Metar::searchAirport

Services_Weather_Metar::searchAirport() – Recherche l'aéroport le plus proche pour des coordonnées données, retourne un tableau d'IDs ou un simple ID

Synopsis

require_once '/Weather/Metar.php';

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

Description

This package is not documented yet.

Parameter

float $latitude

float $longitude

integer $numResults

Throws

Un objet PEAR_Error::SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION est lancé

Un objet PEAR_Error::SERVICES_WEATHER_ERROR_DB_NOT_CONNECTED est lancé

Un objet PEAR_Error::SERVICES_WEATHER_ERROR_INVALID_LOCATION est lancé

Note

This function can not be called statically.