/var/www/html/application/helpers/admin/statistics_helper.php(2610)
2598 if (isset($_POST['noncompleted']) and ($_POST['noncompleted'] == 1)) { 2599 //counter 2600 $i = 0; 2601 2602 while (isset($gdata[$i])) { 2603 if (isset($showaggregated_indice_table[$i]) && $showaggregated_indice_table[$i] == "aggregated") { 2604 // do nothing, we don't rewrite aggregated results 2605 // or at least I don't know how !!! (lemeur) 2606 } else { 2607 //we want to have some "real" data here 2608 if ($gdata[$i] != "N/A") { 2609 //calculate percentage 2610 $gdata[$i] = ($grawdata[$i] / $TotalCompleted) * 100; 2611 } 2612 } 2613 2614 //increase counter 2615 $i++; 2616 } //end while (data available) 2617 } //end if -> noncompleted checked 2618 2619 //noncompleted is NOT checked 2620 else { 2621 //calculate total number of incompleted records 2622 $TotalIncomplete = max(($results - $TotalCompleted), 0); // don't show negative number
#0 |
+
–
/var/www/html/application/helpers/admin/statistics_helper.php(3713): statistics_helper->displayResults() 3708 $outputs = $this->buildOutputList($rt, $language, $surveyid, $outputType, $sql, $sLanguageCode); 3709 $sOutputHTML .= $outputs['statisticsoutput']; 3710 //2. Collect and Display results ####################################################################### 3711 if (isset($outputs['alist']) && $outputs['alist']) { 3712 //Make sure there really is an answerlist, and if so: 3713 $display = $this->displayResults($outputs, $results, $rt, $outputType, $surveyid, $sql, $usegraph, $browse, $sLanguageCode); 3714 $sOutputHTML .= $display['statisticsoutput']; 3715 $aStatisticsData = array_merge($aStatisticsData, $display['astatdata']); 3716 } //end if -> collect and display results 3717 3718 |
#1 |
+
–
/var/www/html/application/controllers/admin/statistics.php(469): statistics_helper->generate_html_chartjs_statistics() 464 //Show Summary results 465 if (isset($summary) && $summary) { 466 $outputType = Yii::app()->request->getPost('outputtype', 'html'); 467 switch ($outputType) { 468 case 'html': 469 $statisticsoutput .= $helper->generate_html_chartjs_statistics($surveyid, $summary, $summary, $usegraph, $outputType, 'DD', $statlang); 470 break; 471 case 'pdf': 472 $helper->generate_statistics($surveyid, $summary, $summary, $usegraph, $outputType, 'D', $statlang); 473 exit; 474 break; |
#2 |
unknown(0): statistics->run()
|
#3 |
+
–
/var/www/html/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#4 |
+
–
/var/www/html/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal() 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#5 |
+
–
/var/www/html/framework/web/CController.php(308): Survey_Common_Action->runWithParams() 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/framework/web/CController.php(286): CController->runAction() 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/framework/web/CController.php(265): CController->runActionWithFilters() 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/application/controllers/AdminController.php(202): CController->run() 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 207 * |
#9 |
+
–
/var/www/html/framework/web/CWebApplication.php(282): AdminController->run() 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/framework/web/CWebApplication.php(141): CWebApplication->runController() 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/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 /** |
#12 |
+
–
/var/www/html/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |