Services_Weather_Globalweather::searchLocation

Services_Weather_Globalweather::searchLocation() – 指定した場所の ID を探し、結果の配列あるいは単一の 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

設定した場合は、結果の配列の最初の ID を返します。

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.