How can I get access of YumUser.php model class in YumWebUser.php component class.

Hi Everyone,

How can I get access of YumUser.php model class in YumWebUser.php component class. When I will change the database, I could not access the YumUser model class in YumWebUser component class. Is there any way like import these class into the required classes.

Thanks,

Yii::import()should help.

However, it should be noted that models should already be imported if you set this in your main/config.php or within the module itself?