/var/www/html/LimeSurvey-develop/application/helpers/expressions/em_manager_helper.php(4482)
4470 /** 4471 * Check the relevance status of all questions on or before the current group. 4472 * This generates needed JavaScript for dynamic relevance, and sets flags about which questions and groups are relevant 4473 * @param string $onlyThisQseq 4474 * @return void 4475 */ 4476 public function ProcessAllNeededRelevance($onlyThisQseq=NULL) 4477 { 4478 // TODO - in a running survey, only need to process the current Group. For Admin mode, do we need to process all prior questions or not? 4479 // $now = microtime(true); 4480 4481 $grelComputed=array(); // so only process it once per group 4482 foreach($this->questionSeq2relevance as $rel) 4483 { 4484 if (!is_null($onlyThisQseq) && $onlyThisQseq!=$rel['qseq']) { 4485 continue; 4486 } 4487 $qid = $rel['qid']; 4488 $gseq = $rel['gseq']; 4489 if ($this->allOnOnePage) { 4490 ; // process relevance for all questions 4491 } 4492 else if ($gseq != $this->currentGroupSeq) { 4493 continue; 4494 }
#0 |
+
–
/var/www/html/LimeSurvey-develop/application/helpers/expressions/em_manager_helper.php(7175): LimeExpressionManager->ProcessAllNeededRelevance() 7170 if ($gseq > $LEM->maxGroupSeq) { 7171 $LEM->maxGroupSeq = $gseq; 7172 } 7173 7174 if (!$LEM->allOnOnePage || ($LEM->allOnOnePage && !$LEM->processedRelevance)) { 7175 $LEM->ProcessAllNeededRelevance(); // TODO - what if this is called using Survey or Data Entry format? 7176 $LEM->_CreateSubQLevelRelevanceAndValidationEqns(); 7177 $LEM->processedRelevance=true; 7178 } 7179 } 7180 } |
#1 |
+
–
/var/www/html/LimeSurvey-develop/application/controllers/admin/dataentry.php(1709): LimeExpressionManager::StartProcessingGroup("10", false, "628888") 1704 1705 // SURVEY NAME AND DESCRIPTION TO GO HERE 1706 $aGroups = QuestionGroup::model()->findAllByAttributes(['sid'=>$surveyid]); 1707 $aDataentryoutput = ''; 1708 foreach ($aGroups as $arGroup) { 1709 LimeExpressionManager::StartProcessingGroup($arGroup->gid, ($thissurvey['anonymized'] != "N"), $surveyid); 1710 1711 $aQuestions = Question::model()->findAllByAttributes(['sid'=>$surveyid, 'parent_qid'=>0, 'gid'=>$arGroup['gid']]); 1712 $aDataentryoutput .= "\t<tr class='info'>\n" 1713 ."<!-- Inside controller dataentry.php -->" 1714 ."<td colspan='3'><h4>".flattenText($arGroup->questionGroupL10ns[$sDataEntryLanguage]->group_name, true)."</h4></td>\n" |
#2 |
unknown(0): dataentry->view("628888")
|
#3 |
+
–
/var/www/html/LimeSurvey-develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(dataentry, array("628888")) 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-develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(dataentry, ReflectionMethod, array("surveyid" => "628888", "sa" => "view", "iSurveyId" => "628888", "iSurveyID" => "628888", ...)) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
#5 |
+
–
/var/www/html/LimeSurvey-develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "628888", "sa" => "view", "iSurveyId" => "628888", "iSurveyID" => "628888", ...)) 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-develop/framework/web/CController.php(286): CController->runAction(dataentry) 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-develop/framework/web/CController.php(265): CController->runActionWithFilters(dataentry, 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-develop/application/controllers/AdminController.php(158): CController->run("dataentry") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#9 |
+
–
/var/www/html/LimeSurvey-develop/framework/web/CWebApplication.php(282): AdminController->run("dataentry") 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-develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/dataentry/sa/view") 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-develop/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/LimeSurvey-develop/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |