/** * Index action */ public function actionIndex() { $model = new CustomPage('search'); //Clear any default values $model->unsetAttributes(); $this->render('index', array('model' => $model)); }