public function actionAdmin()
 {
     $model = new IguImageProduct('search');
     $model->unsetAttributes();
     if (isset($_GET['IguImageProduct'])) {
         $model->setAttributes($_GET['IguImageProduct']);
     }
     $this->render('admin', array('model' => $model));
 }
Example #2
0
<h1><?php 
echo GxHtml::encode(IguImageProduct::label(2));
?>
</h1>

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