PHP Wrapper for Yii Framework to Export Custom SQL query result to Excel