Use Yii methods in example controller