Yes, I think that it can be done by creating a file called app_models.php in the root folder of your application (like the app_controller.php)
Aziz-6 wrote: > > > Is it possible to create a "beforesave" method for all the models ? > I mean in a file like app_controller which controll all the controllers > > > > -- View this message in context: http://www.nabble.com/Simple-question-%21-tp25295075p25299320.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---