Posts Tagged with itemView

Displaying 1-1 of 1 result.
Resolved: Yii CListView itemView from another directory
posted by admin on March 30, 2016
In controller

$dataProvider = new CActiveDataProvider('Media');

In View index.php

<?php $this->widget('zii.widgets.CListView', array(
)); ?>

I want to pass $dataProvider to another file in another directory.
For example I want to call the file post/_view.phpRead more