I am new to yii. I want to know about Yii::app() . I was looking for him, but I definitely do not understand.
Yii::app()
Please read the information at this link. You will understand this.
YII Documentation
Yii is Yii singleton: http://www.yiiframework.com/doc/api/1.1/Yii
Yii
Yii::app() returns an instance of CApplication: http://www.yiiframework.com/doc/api/1.1/CApplication
Which has many convenient methods and variables, such as user (link to Yii::app()->user , which was user information)
Yii::app()->user