10 Yii::import(
'booster.widgets.TbListView');
28 echo CHtml::openTag($this->itemsTagName, array(
'class' => $this->itemsCssClass)) .
"\n";
30 $data = $this->dataProvider->getData();
33 echo CHtml::openTag(
'div', array(
'class' =>
'row'));
34 $owner = $this->getOwner();
35 $render = $owner instanceof CController ?
'renderPartial' :
'render';
36 foreach (
$data as
$i => $item) {
37 $data = $this->viewData;
39 $data[
'data'] = $item;
40 $data[
'widget'] = $this;
41 $owner->$render($this->itemView,
$data);
46 $this->renderEmptyText();
49 echo CHtml::closeTag($this->itemsTagName);