Services_Weather_Globalweather::searchLocation

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

Synopsis

require_once '/Weather/Globalweather.php';

PEAR_Error|array|string Services_Weather_Globalweather::searchLocation ( string $location , bool $useFirst = false )

Description

This package is not documented yet.

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

This function can not be called statically.

Returns the weather-data for the supplied location (Previous) Returns IDs with location-name for a given country or all available countries, if no value was given (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.