I tried to write a model behaviour with a slightly modified "create()"
method. But i discovered that the "create()" method in my behaviour
class is not executed.

I don't know why, the method is set up by Model::__constructor...

Shouldn't behaviour methods overwrite the methods in the controller?

I don't know if this is a good idea, but how about adding create to the
beahvior-class, and calling evry "create()" method of each behavior
whren Model::create is called (like the beforeYYY and afterZZZ
methods)?

Sincerly Flo


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to