I’ve installed yii-user module. I usually retrieve fields that I need as below:
Yii::app()->getModule('user')->user()->profile->balance
But the question is how to change profiles table fields like balance in another controller?
I’ve installed yii-user module. I usually retrieve fields that I need as below:
Yii::app()->getModule('user')->user()->profile->balance
But the question is how to change profiles table fields like balance in another controller?