Hi again Maybe ORM info won't be needed :)
Try this approach. You can make class myAppBaseForm which extends sfForm Then every other form extends myAppBaseForm instead of sfForm. Implement myAppBaseForm::save() method and there You can update Your login_modified field. -- Best regards Łukasz Wojciechowski New Generation Software +48 602 214 629 2009/2/2 Łukasz Wojciechowski <[email protected]>: > Hi > > You should give us more info. > > Most important is which ORM engine You use? Propel or Doctrine ? > > -- > Best regards > Łukasz Wojciechowski > > New Generation Software > +48 602 214 629 > > > > 2009/2/2 Tomasz Ignatiuk <[email protected]>: >> >> Hi >> >> In almost every table in my application I have a field called: >> login_modified which should keep login of a user who just updated a >> record (or created). It is similar to updated_at but "by who". I keep >> login in session. I'd like to ask you how to put login into >> login_modified input in almost all forms in a project? Do I have to >> call new form object (witch second parameter as option) in each >> executeNew (executeEdit) action? Or there is a better way? >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
