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