/**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Goods('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Goods'])) {
         $model->attributes = $_GET['Goods'];
     }
     $this->render('admin', array('model' => $model));
 }