A base CRUD controller for the Yii framework