epiece
(Epiece1)
1
Hello everyone i have a question about Yii framework authentification, i want get data like Yii::app()->user->id,
how i can get another data from another table using Yii::app()->user-> ??
Example :
Yii::app()->user->birthday
but i getting error like this :
5604

[size=2]Hi,[/size]
[size=2]
[/size]
you have to extends CUserIdentity and add this additional information to user… then u can access as u want 
Follow this link
In the link they added username in useridentity class… in same way u have to do for birthday 
http://chris-backhouse.com/Cook-your-own-User-Authentication-in-Yii-–-Part-1/989