Init code with Yii Framework