Extention for Yii framework.