No, but you can do it on the model, on the preSave method (on your model inheriting Doctrine_Record class)
On Thu, Jul 29, 2010 at 10:50 AM, Jérémie <jeremie.symf...@gmail.com> wrote: > Hi all, > > Let me explain: > > I have a field "isPublished" in my table, and another "publicationDate". > When "isPublished" is updated from "0" to "1", I'd like to update > "publicationDate" with the current date & time. > > Is there a way to specify this in the schema.yml file? > > Thanks a lot > Jérémie > > -- > 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 users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en