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