I think the better way is to use an attribute to control the embedding in the UserForm using a simpe if.. then the derivated class should set the attribute to false..
On 9 Nov, 00:51, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > I have two classes: UserForm and UserSimpleForm. UserSimpleForm > extends UserForm. > In UserForm are several other forms embedded, like PhotoForm and > AddressForm. > > For the simple version of the form, UserSimpleForm, I want to unset > these embedded forms. Say unembed (is that an existing word?) them. > > How can I do that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---