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