In terms of order-of-operations, save() fires validate(), which fires
beforeValidate().  Assuming those calls succeed, beforeSave is fired,
and then the data is saved.

In your example above, since you have no parameters going to
validates(), and the model data is not being set before the validates()
call (and maybe this is the "nonsensical" part), how is validate()
supposed to have any idea as to what it's validating?


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

Reply via email to