forked from VisualAppeal/YiiBootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
CListView
t-visualappeal edited this page Feb 19, 2012
·
2 revisions
<?php
$this->widget('EBootstrapListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
'pager' => array(
'class' => 'EBootstrapLinkPager',
'header' => false,
),
'pagerAlign' => 'right',
));
?>
<?php
$this->widget('EBootstrapListViewItem', array(
'data' => $data,
'attributes'=>array(
array(
'name' => 'title',
'type' => 'html',
'cssClass' => 'bootstrap-list-view-item-title',
'value' => EBootstrap::link(EBootstrap::encode($data->title), array('crud/view','id'=>$data->id))
),
'date_created',
'date_updated',
),
));
?>