/media/shnoulle/data/webdev/noplugin/application/helpers/expressions/em_manager_helper.php(1218)
1206 foreach ($this->q2subqInfo[$fqid]['subqs'] as $fsq) { 1207 if (!isset($fsq['csuffix'])) { 1208 $fsq['csuffix'] = ''; 1209 } 1210 if ($this->q2subqInfo[$fqid]['type'] == Question::QT_R_RANKING) { 1211 // we know the suffix exists 1212 $fsqs[] = '(' . $sgq . $fsq['csuffix'] . ".NAOK == '" . (string)substr((string) $sq['sqsuffix'], 1) . "')"; 1213 } elseif ($this->q2subqInfo[$fqid]['type'] == Question::QT_COLON_ARRAY_NUMBERS && isset($this->qattr[$fqid]['multiflexible_checkbox']) && $this->qattr[$fqid]['multiflexible_checkbox'] == '1') { 1214 if ($fsq['sqsuffix'] == $sq['sqsuffix']) { 1215 $fsqs[] = $sgq . $fsq['csuffix'] . '.NAOK=="1"'; 1216 } 1217 } else { 1218 if ($fsq['sqsuffix'] == $sq['sqsuffix']) { 1219 $fsqs[] = '!is_empty(' . $sgq . $fsq['csuffix'] . '.NAOK)'; 1220 } 1221 } 1222 } 1223 if (count($fsqs) > 0) { 1224 $af_names[] = '(' . implode(' or ', $fsqs) . ')'; 1225 } 1226 } 1227 foreach ($cascadedAFE as $_cafe) { 1228 $sgq = ((isset($this->qcode2sgq[$_cafe])) ? $this->qcode2sgq[$_cafe] : $_cafe); 1229 $fqid = explode('X', (string) $sgq); 1230 if (!isset($fqid[2])) {
| #0 |
+
–
/media/shnoulle/data/webdev/noplugin/application/helpers/expressions/em_manager_helper.php(5549): LimeExpressionManager->_CreateSubQLevelRelevanceAndValidationEqns(3) 5544 $LEM->currentGroupSeq = $qInfo['gseq']; 5545 if ($LEM->currentGroupSeq > $LEM->maxGroupSeq) { 5546 $LEM->maxGroupSeq = $LEM->currentGroupSeq; 5547 } 5548 $LEM->ProcessAllNeededRelevance($LEM->currentQuestionSeq); 5549 $LEM->_CreateSubQLevelRelevanceAndValidationEqns($LEM->currentQuestionSeq); 5550 $result = $LEM->_ValidateQuestion($LEM->currentQuestionSeq, $force); 5551 $message .= $result['message']; 5552 $updatedValues = array_merge($updatedValues, $result['updatedValues']); 5553 $gRelInfo = $LEM->gRelInfo[$LEM->currentGroupSeq]; 5554 $grel = $gRelInfo['result']; |
| #1 |
+
–
/media/shnoulle/data/webdev/noplugin/application/helpers/SurveyRuntimeHelper.php(1814): LimeExpressionManager::JumpTo(3, "question", false, true) 1809 } 1810 } elseif ($this->previewquestion) { 1811 $_qid = sanitize_int($this->param['qid']); 1812 LimeExpressionManager::StartSurvey($this->iSurveyid, $this->sSurveyMode, $this->aSurveyOptions, true, $this->LEMdebugLevel); 1813 $qSec = LimeExpressionManager::GetQuestionSeq($_qid); 1814 $this->aMoveResult = LimeExpressionManager::JumpTo($qSec + 1, 'question', false, true); 1815 $this->aStepInfo = LimeExpressionManager::GetStepIndexInfo($this->aMoveResult['seq']); 1816 } 1817 } 1818 1819 |
| #2 |
+
–
/media/shnoulle/data/webdev/noplugin/application/helpers/SurveyRuntimeHelper.php(219): SurveyRuntimeHelper->setPreview() 214 $this->saveAllIfNeeded(); 215 $this->saveSubmitIfNeeded(); 216 // TODO: move somewhere else 217 $this->setNotAnsweredAndNotValidated(); 218 } else { 219 $this->setPreview(); 220 } 221 $this->moveSubmitIfNeeded(); 222 $this->setGroup(); 223 $this->fixMaxStep(); 224 |
| #3 |
+
–
/media/shnoulle/data/webdev/noplugin/application/controllers/survey/SurveyIndex.php(662): SurveyRuntimeHelper->run(823134,
array("surveyid" => 823134, "thissurvey" => array("sid" =>
823134, "owner_id" => 1, "gsid" => 1, "admin" => "Denis Chenu",
...), "thisstep" => 0, "tokensexist" => 0, ...)) 657 unset($redata); 658 $redata = compact(array_keys(get_defined_vars())); 659 Yii::import('application.helpers.SurveyRuntimeHelper'); 660 $tmp = new SurveyRuntimeHelper(); 661 // try { 662 $tmp->run($surveyid, $redata); 663 // } catch (WrongTemplateVersionException $ex) { 664 // echo $ex->getMessage(); 665 // } 666 } 667 |
| #4 |
+
–
/media/shnoulle/data/webdev/noplugin/application/controllers/survey/SurveyIndex.php(22): SurveyIndex->action() 17 public $oTemplate; 18 19 public function run() 20 { 21 useFirebug(); 22 $this->action(); 23 } 24 25 /** 26 * 27 * todo: this function is toooo long, to many things happening here. Should be refactored asap! |
| #5 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/framework/web/actions/CAction.php(76): SurveyIndex->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. |
| #6 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/framework/web/CController.php(308): CAction->runWithParams(array("r"
=>
"survey/index/action/previewquestion/sid/823134/gid/297/qid/2937",
"action" => "previewquestion", "sid" => "823134", "gid" =>
"297", ...)) 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; |
| #7 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(SurveyIndex) 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(); |
| #8 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(SurveyIndex, 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); |
| #9 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/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))); |
| #10 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/action/previewquestion/sid/823134/gid/297/qid/2937") 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 |
+
–
/media/shnoulle/data/webdev/noplugin/vendor/yiisoft/yii/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 |
+
–
/media/shnoulle/data/webdev/noplugin/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |