public function actionShowUpdateProgress($curr_step) { $model = new Setup(); //echo "step value in controller ".$curr_step; $step = $curr_step; if ($step != 0) { $step_info = $model->updateVersion($step); } else { session_unset(); } $this->renderPartial('showUpdateProgress', array('step_info' => $step_info)); }