Helping ordinary people create extraordinary websites!


Services_Weather_Metar::searchLocation()

Services_Weather_Metar::searchLocation()  --  Searches IDs for given location, returns array of possible locations or single ID

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.