Services_Weather_Metar::searchLocation

Services_Weather_Metar::searchLocation() – Searches IDs for given location, returns array of possible locations or single 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

If set, first ID of result-array is returned

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.

Searches the nearest airport(s) for given coordinates, returns array of IDs or single ID (Previous) Returns IDs with location-name for a given country or all available countries, if no value was given (Next)
Last updated: Sun, 23 Nov 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.