Component should be used with Controller. Now in your model you could use $this->controller->component to access the component of the controller.
On Jul 24, 6:33 am, airrob <[EMAIL PROTECTED]> wrote: > I don't think this message went through last time. If it did, I > apologize for the duplicate. > > I have a component that deals with my data caching. It currently > caches the data just fine. I want to have it expire the cache. I want > to do that from a model afterSave callback. Is it possible to access a > component from a model callback? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
