以下のコードから出力htmlを取得していません
$this->widget('zii.widgets.CListView', array(
'id'=>'skills-grid',
'itemView'=>'scheduled_skills',
'dataProvider'=>$model->search(),
));
yii1.1 のリストビューの例で利用できるデモはありますか? yii1.1 のリストビューの例のリンクを共有してください
このコードClistView
は Yii1.1 で使用できます
exのClistviewファイル:index.php
$this->widget('zii.widgets.CListView', array(
'id'=>'skills-grid',
'itemView'=>'_scheduled_skills', // Your View file
'dataProvider'=>$model->search(),
));
ClistView 例のビュー ファイル: _scheduled_skills.php
<table class="table">
<tbody>
<tr>
<td><span class="title"><strong> First Name</strong> </span></td>
<td><span class="title"><?php echo $data->first_name;?></td>
</tr>
<tr>
<td><span class="title"><strong>Last Name</strong> </span></td>
<td><span class="title"><?php echo $data->last_name;?></td>
</tr>
</tbody>
</table>
$data
ClistView ファイル内のオブジェクトに直接アクセスできます。