public function report1{
$pname = detail::model()->findAll();
$this->render('report1',array(
'test'=>$pname,
'model'=>$model,
));
}
report.php
<?php
foreach($test as $temp){
"$temp->name";
}
?>
_report.php
<?php $form->textField($model, 'name', array('editable' => 'editable',/* 'value' => $temp*/ )); ?>