$this
: refers to the owner of this list view widget. For example, if the widget is in the view of a controller, then$this
refers to the controller.$data
: refers to the data item currently being rendered.$index
: refers to the zero-based index of the data item currently being rendered.$widget
: refers to this list view widget instance.
另外,还可以通过以下方式来直接向CListView传递变量
//生成view $this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'_view', 'viewData'=>array('userList'=>'hi'), ));