get array from model yii1 code example
Example: yii1 findall as array listData
$array = CHtml::listData(Trips::model()->findAll(), 'trip_id', 'trip_name');
$array = CHtml::listData(Trips::model()->findAll(), 'trip_id', 'trip_name');