replace inquiry with yii-framework