Services_Weather_Globalweather::searchLocation()

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

Referentiesamenvatting

require_once '/Weather/Globalweather.php';

PEAR_Error|array|string Services_Weather_Globalweather::searchLocation (string $location, bool [$useFirst = FALSE])

Beschrijving

Dit pakket in nog niet gedocumenteerd.

Parameter

string $location

boolean $useFirst

If set, first ID of result-array is returned

Throws

throws PEAR_Error::SERVICES_WEATHER_ERROR_WRONG_SERVER_DATA

throws PEAR_Error::SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION

Note

Deze functie kan niet statisch worden aangeroepen.