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()
)
Описание
Requires Cache to be installed
Parameter
-
string
$cacheType
-
array
$cacheOptions
Throws
throws PEAR_Error::SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED
Замечание
This function can not be called statically.