onezeronull.com
Convert CActiveDataProvider to associative array
Here is an example on how to convert CActiveDataProvider to a simple associative array. Columns names are read from table schema, so you don’t have to know table (model) structure to use this…