On Nov 10, 4:25 am, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> The values are populated when you instantiate the form initially like so:
>
> $form = new sfForm($initialValues);
> and when you do:
> $form->bind($tainedValues);
So, combining your two answers, the $form->bind($taintedValues) passes
the values to the appropriate validator's doClean() method, right? If
yes, why does a critical log entry at the beginning of my doClean
method not result in a log entry?
> Check out the generated form classes. You will see methods like
> updateDefaultsFromObject(), saveRelationNameList(), etc. All other values
> are updated to the object in the sfFormDoctrine::updateObject() method where
> we simply use the Doctrine_Record::fromArray() method.
I am correct in thinking that I will only have to override the
updateDefaultsFromObject to accomodate my modified n:m, as everything
else will work? Also, I didn't find a saveRelationNameList() in my
entire Symfony project (using 1.1, which shouldn't make a difference,
I think ...)?
My mind boggles ....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---