On Fri, Apr 18, 2008 at 1:32 AM, Atomic Guava <[EMAIL PROTECTED]> wrote:
>
>
>  Is there a way to do this in the model as it instantiates?
>
>  I had a dig through the API, but couldn't find anything similar to the
>  beforeFilter() controller method - does anything exist like that for
>  models?
>
>  Basically, I've love to be able to automatically create a table the
>  first time the controller gets requested :)
>
>

Maybe beforeSave() is what you need ?


Cheers,
-- 
Juan Luis Baptiste

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to