yii1 findall comme array listData

$array = CHtml::listData(Trips::model()->findAll(), 'trip_id', 'trip_name');
Hurt Hyena