A quick check of the source code will tell you all you need to know...

save() is a wrapper function, that runs doSave() inside a transaction

doSave() first calls updateObject() then calls save() on the object
itself.

updateObject() is a method called just before the object is actually
saved, it's somewhere you can throw in some last minute object
manipulation before it is saved to the db.

http://trac.symfony-project.org/browser/branches/1.4/lib/form/addon/sfFormObject.class.php

Russ

On Apr 16, 5:17 pm, WallTearer <[email protected]> wrote:
> Hello group.
>
> I'm reading symfony docs, but can't get what is the difference between
> sfFormDoctrine methods:
> doSave()
> save()
> updateObject()
>
> What is the order of their execution?
>
> Thanks a lot
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://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 [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