not only for Yii