whoho, got it. For the ones who want to know:

http://www.doctrine-project.org/documentation/manual/1_1/en/component-overview

getModified(true) is the keyword.

thanks.



On 18 Mai, 18:17, Johannes Heinen <[email protected]>
wrote:
> HI all,
>
> is there a way to revert changes made to an doctrine object during a
> transaction?
>
> I user the preSave() Hook to do some stuff and set attributes
> depending on their original values. I don't see any way to retrieve
> these original values, i'd only found methods to retrieve information
> about which columns have changed.
>
> Is there a method like (getOriginalValueForField('myField')) ?
>
> Thanks,
> Johannes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to