/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/SurveyRuntimeHelper.php(1283)
1271 } 1272 1273 $showgroupdesc_ = $showgroupinfo_ == 'B' /* both */ || $showgroupinfo_ == 'D'; /* (group-) description */ 1274 1275 if (!$previewquestion && trim($redata['groupdescription'])!="" && $showgroupdesc_) 1276 { 1277 echo templatereplace(file_get_contents($sTemplateViewPath."groupdescription.pstpl"), array(), $redata); 1278 } 1279 echo "\n"; 1280 1281 echo "\n\n<!-- PRESENT THE QUESTIONS (in SurveyRunTime ) -->\n"; 1282 1283 foreach ($qanda as $qa) // one entry per QID 1284 { 1285 // Test if finalgroup is in this qid (for all in one survey, else we do only qanda for needed question (in one by one or group by goup) 1286 if ($gid != $qa['finalgroup']) { 1287 continue; 1288 } 1289 $qid = $qa[4]; 1290 $qinfo = LimeExpressionManager::GetQuestionStatus($qid); 1291 $lastgrouparray = explode("X", $qa[7]); 1292 $lastgroup = $lastgrouparray[0] . "X" . $lastgrouparray[1]; // id of the last group, derived from question id 1293 $lastanswer = $qa[7]; 1294 1295
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(611): SurveyRuntimeHelper->run("44899",
array("surveyid" => "44899", "thissurvey" => array("template"
=> "default", "language" => "fr", "sid" => "44899", "owner_id"
=> "1", ...), "thisstep" => null, "tokensexist" => 0, ...)) 606 //Send local variables to the appropriate survey type 607 unset($redata); 608 $redata = compact(array_keys(get_defined_vars())); 609 Yii::import('application.helpers.SurveyRuntimeHelper'); 610 $tmp = new SurveyRuntimeHelper(); 611 $tmp->run($surveyid,$redata); 612 613 if (App()->request->getPost('saveall') || isset($flashmessage)) 614 { 615 App()->clientScript->registerScript("saveflashmessage","alert('".gT("Your responses were successfully saved.","js")."');",CClientScript::POS_READY); 616 } |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(70): index->action() 65 App()->getClientScript()->reset(); 66 return $buffer; 67 }); 68 69 ob_implicit_flush(false); 70 $this->action(); 71 ob_flush(); 72 } 73 74 function action() 75 { |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(308): CAction->runWithParams(array("action" => "previewquestion", "sid" => "44899", "gid" => "2827", "qid" => "54433")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(286): CController->runAction(index) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(265): CController->runActionWithFilters(index, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(282): CController->run("index") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/action/previewquestion/sid/44899/gid/2827/qid/54433") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |