Upgrading from Yii 1.1 to Yii 2.0 : Things to Watch Out For Last updated: 20 Sep 2013 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. Felipe 20 Sep 2013 20 Sep 2013 yii2 « Why Testing? Functional, Unit, Integration: Bring Them All In Archive Yii 2 Menu Usage Examples »