Upgrading from Yii 1.1 to Yii 2.0 : Things to Watch Out For

Last updated:

calling $this in a view file

Starting with Yii 2.0, when you do $this from within a view, $this doesn't refer to the controller anymore, but to the View object itself.

Dialogue & Discussion