On 14.05.2010, at 20:14, f1gm3nt wrote: > So I'm faced with the problem of logging CRUD.... > > So if a user saves a form I need to insert information into a > database. Right now I'm thinking that the symfony event system will > work best. I've been playing around with it and so if a form is saved > then if it's new, then it will notify 'object.create' and if the form > is being updated then it will notify 'object.update'. > > This seems like the most logical way to do this and I have a table in > the database that stores this information. Has anyone else ever done > this or can someone give some insights? >
just add a post save method in your doctrine base class to do the logging. regards, Lukas Kahwe Smith [email protected] -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" 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/symfony-devs?hl=en
