/** * Manages all models. */ public function actionAdmin() { $model = new Instruments('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['Instruments'])) { $model->attributes = $_GET['Instruments']; } $this->render('admin_datatable'); }