CVarDumper is a nice tool for debuging - especially for beginners to get a lot of for beginners unknown information.
And I learn more and more.
What I found … you can dump:
$model
$this
$_GET
$_REQUEST
$_POST
Yii::app()->components
Yii::app()
Yii::app()->request->getUserHostAddress()
Yii::app()->request
Yii::app()->params
In CWebUser I found that I can dump:
Yii::app()->user
but I don’t get the username. For this I have to dump another time:
Yii::app()->user->name
-
How can I see all CWebUser-vars?
-
Till now it was only luck, that I found vars to dump. How can I find all vars to dump?
-
Is there a further "dumper" for "walking" through a "var-tree" with un-/collapsible branches?
Regards
Jannis