コード例 #1
0
 public function bindAskInfo($request, $response)
 {/*{{{*/
     $treatedHospital = $request->treatedHospital;
     AskSessionInfo::bindTreatedHospital($treatedHospital);
     if($treatedHospital == 1)
     {
         $this->saveConditionDesc($request, $response);
         $this->saveHopeHelpInfo($request, $response);
     }
     else
     {
         $this->saveDiseaseInfoNotTreated($request, $response);
         $this->saveConditionDescNotTreated($request, $response);
         $this->saveHopeHelpInfoNotTreated($request, $response);
     }
     $response->setRedirect($response->router->urlfor('newcase/confirmpatient'));
 }/*}}}*/
コード例 #2
0
 public function bindTreatedHospital($treatedHospital)
 {/*{{{*/
     AskSessionInfo::bindTreatedHospital($treatedHospital);
 }/*}}}*/