/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/admin/statistics_helper.php(1473)
1461 1462 1463 1464 case "Y": //Yes\No 1465 $alist[]=array("Y", gT("Yes")); 1466 $alist[]=array("N", gT("No")); 1467 break; 1468 1469 1470 1471 case "I": //Language 1472 // Using previously defined $surveylanguagecodes array of language codes 1473 foreach ($surveylanguagecodes as $availlang) 1474 { 1475 $alist[]=array($availlang, getLanguageNameFromCode($availlang,false)); 1476 } 1477 break; 1478 1479 1480 case "5": //5 Point (just 1 item to rank!) 1481 for ($i=1; $i<=5; $i++) 1482 { 1483 $alist[]=array("$i", "$i"); 1484 } 1485 break;
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/admin/statistics_helper.php(3131): statistics_helper->buildOutputList("155478X2486X49782", "fr", "155478", "html", ...) 3126 //loop through all selected questions 3127 foreach ($runthrough as $rt) 3128 { 3129 3130 //Step 1: Get information about this response field (SGQA) for the summary 3131 $outputs=$this->buildOutputList($rt, $language, $surveyid, $outputType, $sql, $sLanguageCode); 3132 $sOutputHTML .= $outputs['statisticsoutput']; 3133 //2. Collect and Display results ####################################################################### 3134 if (isset($outputs['alist']) && $outputs['alist']) //Make sure there really is an answerlist, and if so: 3135 { 3136 $display=$this->displayResults($outputs, $results, $rt, $outputType, $surveyid, $sql, $usegraph, $browse, $sLanguageCode); |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/admin/statistics.php(463): statistics_helper->generate_statistics("155478",
array("idG", "idL", "datestampE", "datestampG", ...), array("idG",
"idL", "datestampE", "datestampG", ...), 0, ...) 458 $outputType = $_POST['outputtype']; 459 460 $helper = new statistics_helper(); 461 switch($outputType){ 462 case 'html': 463 $statisticsoutput .= $helper->generate_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'DD',$statlang); 464 break; 465 case 'pdf': 466 $helper->generate_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'I',$statlang); 467 exit; 468 break; |
#2 |
unknown(0): statistics->run("155478", null)
|
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(statistics, array("155478", null)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(statistics,
ReflectionMethod, array("surveyid" => "155478", "sa" => "index",
"iSurveyId" => "155478", "iSurveyID" => "155478")) 094 $oMethod = new ReflectionMethod($this, $sDefault); 095 } 096 097 // We're all good to go, let's execute it 098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 099 return parent::runWithParamsInternal($this, $oMethod, $params); 100 } 101 102 /** 103 * Some functions have different parameters, which are just an alias of the 104 * usual parameters we're getting in the url. This function just populates |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "155478", "sa" => "index")) 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; |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(286): CController->runAction(statistics) 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(); |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(265): CController->runActionWithFilters(statistics, 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); |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/AdminController.php(159): CController->run("statistics") 154 $this->redirect(array('/admin/authentication/sa/login')); 155 } 156 157 } 158 159 return parent::run($action); 160 } 161 162 /** 163 * Routes all the actions to their respective places 164 * |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(282): AdminController->run("statistics") 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))); |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/statistics/sa/index") 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. |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php(211): CApplication->run() 206 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 207 } 208 } 209 210 Yii::$enableIncludePath = false; 211 Yii::createApplication('LSYii_Application', $config)->run(); 212 213 /* End of file index.php */ 214 /* Location: ./index.php */ |