On Tue, Apr 8, 2008 at 4:11 PM, pihentagy <[EMAIL PROTECTED]> wrote:

>  Writing
>         $cacheManager = sfContext::getInstance()->getViewCacheManager();
>  in the model results $cacheManager being null. Is this normal?

If you're in dev env, cache is disabled by dafault, so you haven't any
cacheManager. You should obtain an instance in eg. prod env, though.

++

-- 
Nicolas Perriault
http://prendreuncafe.com/blog
GSM: 06.60.92.08.67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to