public function actioncheque_return() { $model = new FeesPaymentCheque('cheque_return'); $model->unsetAttributes(); // clear any default values if (isset($_GET['FeesPaymentCheque'])) { $model->attributes = $_GET['FeesPaymentCheque']; } $this->render('return_cheque', array('model' => $model)); }