This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » How to remove a partial cache which is contextual ?
How to remove a partial cache which is contextual ? [message #102701] Sun, 18 July 2010 18:08
filc  is currently offline filc
Messages: 35
Registered: October 2009
Member
Hello !

Well, everything is in the title :
How to remove a partial cache which is contextual ?

Something like that doesn't seem to work !
if ($cache = $this->getContext()->getViewCacheManager()) {
      $cache->remove('@sf_cache_partial?module=mymodule&action=_partialact&sf_cache_key=' . $cache_key);
    }


Thanks ! Smile
Previous Topic:Use View Filters in Model
Next Topic:Admin generator, filters and I18n
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software