public function actionVerifyEmployers() { $model = new Employer('search'); $model->unsetAttributes(); if (isset($_GET['Employer'])) { $model->attributes = $_GET['Employer']; } $dataProvider = $model->searchInactive(); $this->render('verifyEmployers', array('model' => $model, 'dataProvider' => $dataProvider)); }