i am trying to fetch the current user’s all states.
since all the user related data is stored in CWebUser object so i used this statement Yii::app()->user.
It returned me the full object but cannot find the states.
In the documentation(please refer : http://www.yiiframework.com/doc/api/1.1/CWebUser) there is function getState() which requires the name of the state but i want to fetch all the user states irrespective of providing the parameter to fetch the state.