Services_Weather_Weatherdotcom::searchLocation

Services_Weather_Weatherdotcom::searchLocation() – 指定した場所の ID を探し、結果の配列あるいは単一の ID を返す

Synopsis

require_once '/Weather/Weatherdotcom.php';

PEAR_Error|array|string Services_Weather_Weatherdotcom::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.

指定した場所の天候データを返す (Previous) weather.com は XML サービスによる国名の一覧をサポートしていないため、常に false を返す (Next)
Last updated: Mon, 20 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.