public function actionOverall() { $model = new ArchiveCounters('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['ArchiveCounters'])) { $model->attributes = $_GET['ArchiveCounters']; } $this->render('overall', array('model' => $model)); }