From the code generated by the yiic, as we know, using these code can only get id and username from Yii::app()->user after logined: From the code generated by the yiic, as we know
From the code generated by the yiic, as we know, using these code can only get id and username from Yii::app()->user after logined: From the code generated by the yiic, as we know