Services_Weather_Weatherdotcom::searchLocation()

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

Synopsis

require_once '/Weather/Weatherdotcom.php';

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

Описание

Этот пакет пока не документирован.

Параметр

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

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ