Hi devs,

I want to use another model in my controller. For eg.. I have users
and profile controllers.(two separate modules)  when somebody register
himself I save the registration info in user model. At the same time
in process form I want to save some basic info in profile model for
which I have not taken any info on registration page.

I got one ides like using $profile = new Profile() in user controller.
Is this is perfect solution to use another model on controller. Or
there is other way to do this?

krishan


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to