Services_Weather_Common::setCache

Services_Weather_Common::setCache() – データのキャッシュを有効にする。使用することを強く推奨する

Synopsis

require_once '/Weather/Common.php';

PEAR_Error|bool Services_Weather_Common::setCache ( string $cacheType = "file" , array $cacheOptions = array() )

Description

Cache がインストールされている必要があります。

Parameter

string $cacheType

array $cacheOptions

Throws

throws PEAR_Error::SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED

Note

This function can not be called statically.