I'm having some trouble trying to pass multiple dataProviders to a ClistView in Yii. What is the correct way of doing it?
I've tried:
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>array($dataProvider, $dataProvider2),
I've also had a look at this What is the best method to merge two PHP objects?. Not sure if the best approach would be to try and do it with pure PHP or if the Framework has options for this and i've just missed them.
Appreciate any help.
thanks
Jonny