I have the following CHtml::listData in my Code…
$modelArray = CHtml::listData($modelModel->findAll($criteria), 'idModel', 'modelName');
I want to prepend a value to the array without destroying the indexstructure (so array_unshift() is not an option)
What is the best way to do it… ?
THX
ANdreas