How to bind Yii:app()->user to the model User. That there was a connection type: Yii::app()->user->getUser()
For example, I want to get the currently logged in user's email:
Yii::app()->user->getUser()->email;
I readed wiki post:http://www.yiiframework.com/wiki/80/add-information-to-yii-app-user-by-extending-cwebuser-better-version/