When a Propel form is submitted, I want some values to be set manually by the system. So I have to extend the form object like I do with a normal object class.
For example, when a User is saved, the extended class looks like this: public function save(){ $this->setRandom(rand(1,99)); return parent::save(); } Now I want to do the same when a form is submitted. The question is, where should I do this? Because the form has two possible functions to do this: updateObject() and save(). What is best? -- 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