Yii framework : pass additional or extra parameters in clistview


widget('zii.widgets.CListView', array(
'dataProvider' => $dataProvider,
'id' => 'eventlistview',
'itemView' => '//event/_view',
'template' => "{summary}\n{pager}\n{items}\n{pager}",
'viewData' => array("action_buttons" => $action_buttons )

));

Advertisements