/var/www/html/limesurvey-test/files/application/helpers/admin/statistics_helper.php(1249)
1237 1238 // NICE SIMPLE SINGLE OPTION ANSWERS 1239 /* 1240 TO DEBUG QUESTION TYPES FIRSTLETTER, UNCOMMENT THOSE LINES 1241 elseif(!isset($fieldmap[$rt])) 1242 { 1243 echo "problem, wrong question type for $rt ; $firstletter"; die(); 1244 }*/ 1245 else 1246 { 1247 //search for key 1248 //var_dump($firstletter); die(); 1249 $fielddata=$fieldmap[$rt]; 1250 1251 //get SGQA IDs 1252 $qsid=$fielddata['sid']; 1253 $qgid=$fielddata['gid']; 1254 $qqid=$fielddata['qid']; 1255 $qanswer=$fielddata['aid']; 1256 $qtype=$fielddata['type']; 1257 //question string 1258 $qastring=$fielddata['question']; 1259 //question ID 1260 $rqid=$qqid; 1261
#0 |
+
–
/var/www/html/limesurvey-test/files/application/helpers/admin/statistics_helper.php(3757): statistics_helper->buildOutputList("923951X80X666", "fr", "923951", "html", ...) 3752 //loop through all selected questions 3753 foreach ($runthrough as $rt) 3754 { 3755 3756 ////Step 1: Get information about this response field (SGQA) for the summary 3757 $outputs=$this->buildOutputList($rt, $language, $surveyid, $outputType, $sql, $sLanguageCode); 3758 //$sOutputHTML .= $outputs['statisticsoutput']; // Nothing interesting for us in this output 3759 //2. Collect and Display results ####################################################################### 3760 3761 if (isset($outputs['alist']) && $outputs['alist']) //Make sure there really is an answerlist, and if so: 3762 { |
#1 |
+
–
/var/www/html/limesurvey-test/files/application/controllers/admin/statistics.php(708): statistics_helper->generate_simple_statistics("923951", array("datestampE", "datestampG", "datestampL", "idG", ...), array("datestampE", "datestampG", "datestampL", "idG", ...), 1, ...) 703 //Show Summary results 704 $usegraph=1; 705 $aData['usegraph'] = $usegraph; 706 $outputType = 'html'; 707 $statlang=returnGlobal('statlang'); 708 $statisticsoutput .= $helper->generate_simple_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'DD',$statlang); 709 710 $aData['usegraph'] = 1; 711 $aData['sStatisticsLanguage']=$statlang; 712 $aData['output'] = $statisticsoutput; 713 $aData['summary'] = $summary; |
#2 |
unknown(0): statistics->simpleStatistics("923951")
|
#3 |
+
–
/var/www/html/limesurvey-test/files/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(statistics, array("923951")) 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 |
+
–
/var/www/html/limesurvey-test/files/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(statistics, ReflectionMethod, array("surveyid" => "923951", "sa" => "simpleStatistics", "iSurveyId" => "923951", "iSurveyID" => "923951")) 096 $oMethod = new ReflectionMethod($this, $sDefault); 097 } 098 099 // We're all good to go, let's execute it 100 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 101 return parent::runWithParamsInternal($this, $oMethod, $params); 102 } 103 104 /** 105 * Some functions have different parameters, which are just an alias of the 106 * usual parameters we're getting in the url. This function just populates |
#5 |
+
–
/var/www/html/limesurvey-test/files/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "923951", "sa" => "simpleStatistics")) 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 |
+
–
/var/www/html/limesurvey-test/files/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 |
+
–
/var/www/html/limesurvey-test/files/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 |
+
–
/var/www/html/limesurvey-test/files/application/controllers/AdminController.php(165): CController->run("statistics") 160 $this->redirect(array('/admin/authentication/sa/login')); 161 } 162 163 } 164 165 return parent::run($action); 166 } 167 168 /** 169 * Routes all the actions to their respective places 170 * |
#9 |
+
–
/var/www/html/limesurvey-test/files/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 |
+
–
/var/www/html/limesurvey-test/files/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/statistics/sa/simpleStatistics") 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 |
+
–
/var/www/html/limesurvey-test/files/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 |
+
–
/var/www/html/limesurvey-test/files/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 */ |