Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function actionIndex()
- {
- $model=UserProfile::model()->findByAttributes(array('user_id' => Yii::app()->user->getId()));
- $this->render('index', array('model'=>$model));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement