public function actionManage() { $model = new Carga('search'); $model->unsetAttributes(); if (isset($_GET['Carga'])) { $model->setAttributes($_GET['Carga']); } $this->render('manage', array('model' => $model)); }