php - Cache_Manager in View_Helper -
i have configured cachemanager resource in application.ini ... can resource actions. trying same resource view_helper , it's not working! i'm getting zend_cache_manager object ... but
$cachemanager->getcache('theresourcename');
is returning null...?
any ideas?
best wishes, alex
try:
$front = zend_controller_front::getinstance(); $bootstrap = $front->getparam('bootstrap'); $resource = $bootstrap->getresource('cachemanager'); $cache = $resource->getcache('theresourcename');
Comments
Post a Comment