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