Services_Weather_Common::setCache

Services_Weather_Common::setCache() – Enables caching the data, usage strongly recommended

Synopsis

require_once '/Weather/Common.php';

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

Description

Requires Cache to be installed

Parameter

string $cacheType

array $cacheOptions

Throws

throws PEAR_Error::SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED

Note

This function can not be called statically.