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