How can I pass additional parameter to template that is used by CListView widget(_view.php template)?
dataProvider is instance of CActiveDataProvider, so I can’t add any additional attributes in data provider(it also doesn’t have sense to add any parameter that doesn’t belong to model to data provider)
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'/contact/_view',
));
I want for example to pass $return_url variable to _view, so I can use it there.