It runs the beforeSave() function, which your model can implement if you want to check what is about to be saved, and either modify the data before saving, deny the save completely, or of course allow the save to continue. By default there is a stub implementation in your / cake/libs/model/model.php, which always returns true (so every save can continue). You must have a beforeSave() defined either in your app/app_model.php, in your actual model class in app/models, or in a behaviour that your model implements that is returning false, stopping the save.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
