public function actionIndex() { $model = new PaperApprovalBus(); $model->unsetAttributes(); if (isset($_GET['PaperApprovalBus'])) { $model->attributes = $_GET['PaperApprovalBus']; } $this->render('index', array('model' => $model, 'dataProvider' => $model->getPaperDoneBus())); }