i have one controller CompanyController.In which i want to call function of UserModule.
For that i write
Yii::app()->getModule('User')->encrypting($model_user->password);
But it gives me error
Call to a member function encrypting()
Whats wrong?