public function actionIndex() { $model = new Basket('search'); $model->unsetAttributes(); $this->render('index', array('model' => $model)); }