I use CListView to render content from an database by using models and CActiveDataprovider, which works well.
Now, there is some data which doesn’t exist in the database, but is available as an associative PHP array.
The Question now is: howto bring that data into the clistview?
I thought about different ways, but did not find a solution.
Is there a way to smuggle to data from the array to the CListView, like mapping to an “fake model” or creating an pseudo object - an object which looks like an CActiveDataprovider (but I don’t know, how to do)?
Or maybe I didn’t understood the documentation and there is something like an backdoor to bring the array data to the model/CListView?