Exemple #1
0
 /**
  * Lists all models.
  */
 public function actionIndex()
 {
     $this->addToolbar();
     $model = new Logo('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Logo'])) {
         $model->attributes = $_GET['Logo'];
     }
     $this->render('index', array('model' => $model));
 }