Add information to Yii::app()->user by extending CWebUser (better version)

Comparing #6 with #7

Revision #7 was created by emix emix on Aug 15, 2010, 4:35:07 PM.

code fix

Content

[...]
return parent::__get($name);
}

public function login($identity, $duration) {
$this->setState('__userInfo', $identity->getUser
info()->attributes());
parent::login($identity, $duration);
}
}
?>
```
[...]