Yii 1.0 ClistView Code Demo

Code tell you everything. ^&^ Right?

 

$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$mapList,
	'itemView'=>'_listview',
	'summaryText'=>$summaryText, //summary text
	'emptyText'=>'未找到相关地图',
	'template'=>',, {items} and {pager}.', //template
  	'pagerCssClass'=>'page-number',//contain class
	'pager'=>array(
	            'cssFile'=>false,//disable all css property
		    'header'=>'',//text before it
		    'firstPageLabel'=>'第一页',//overwrite firstPage lable
		    'lastPageLabel'=>'最后一页',//overwrite lastPage lable
		    'nextPageLabel'=>'下一页',//overwrite nextPage lable
		    'prevPageLabel'=>'上一页',//overwrite prePage lable
		    )
));