only login userdata show

hi i want to show the only specific user data from the database. i am new in Yii. how could it possible. in core coding we have user id and fetch from database against that id. but i cant understand the yii. how could it possible


If you are using Active Record, the combination of it’s findByPk() method and CDbCriteria is what you need:

And The Guide of course…