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