I'm fairly new to Yii and would really appreciate any help with this problem. I think I'm missing something very obvious.
I'm using Yii-User (http://code.google.com/p/yii-user/) for authentication. I'd like to automatically create a user
based on my own input form in the main application. From the code in Yii-User I can see I need to access two models:
$model = new RegistrationForm; $profile=new Profile;
I think I need to do something like this:
$RegistrationForm = Yii::app()->getModule('user')->RegistrationForm;
I've also had a look at this article too but I can't see how it applies to what I'm trying to do -
http://www.yiiframew...oc/cookbook/27/
How do I reference the models in a module from the main application?
Any help would be really appreciated.
Jonathan

Help













