CI/YII Adapted