A suggestion: Create a attribute "oldObject" or something like that;
Alter the construct (or the hydration) and put a copy of the object in that attribute. Use it on save method. []'s Rafael Goulart - Brazil On May 27, 5:44 am, HAUSa <[email protected]> wrote: > I'm making my own model save() function. In that function the > individual fields (like id, title, rank, etc) are already set to the > new values retrieved from the form. > > Now I want to use the previous version of a value in the save > function, the value a field had before it got changed. > > Is that possible? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
