Hi
I have an _initCachemanager() method in bootstrap
protected function _initCachemanager()
{
$cacheManager = new Zend_Cache_Manager();
$cache = array(
'frontend' => array(
'name' => 'Core',
'options' => array(
'lifetime' => 7200,
'automatic_serialization' => true
)
),
'backend' => array(
'name' => 'Core',
'options' => array(
'cache_dir' => APPLICATION_PATH . '/data/cache'
)
)
);
$cacheManager->setCacheTemplate('cache', $cache);
return $cacheManager;
}
After this method I have an _initTranslator() method to setup
Zend_Translate.
How can I get the cache from the previous method to set a cache to the
translator.
Thanks in advance.
Cheers
holo