/media/shnoulle/data/www/master/application/helpers/expressions/em_manager_helper.php(3869)
3857 $answers = []; 3858 foreach ($ansArray as $key => $value) { 3859 $answers[] = "'" . $key . "':'" . htmlspecialchars(preg_replace('/[[:space:]]/', ' ', (string) $value), ENT_QUOTES) . "'"; 3860 } 3861 $ansList = ",'answers':{ " . implode(",", $answers) . "}"; 3862 } 3863 // Set mappings of variable names to needed attributes 3864 $varInfo_Code = [ 3865 'jsName_on' => $jsVarName_on, 3866 'jsName' => $jsVarName, 3867 'readWrite' => $readWrite, 3868 'hidden' => $hidden, 3869 'question' => $question, 3870 'qid' => $questionNum, 3871 'gid' => $groupNum, 3872 'grelevance' => $grelevance, 3873 'relevance' => $relevance, 3874 'SQrelevance' => $SQrelevance, 3875 'qcode' => $varName, 3876 'qseq' => $questionSeq, 3877 'gseq' => $groupSeq, 3878 'type' => $type, 3879 'sgqa' => $sgqa, 3880 'ansList' => $ansList, 3881 'ansArray' => $ansArray,
| #0 |
+
–
/media/shnoulle/data/www/master/application/helpers/expressions/em_manager_helper.php(4610): LimeExpressionManager->setVariableAndTokenMappingsForExpressionManager(623399) 4605 $LEM->em->StartProcessingGroup( 4606 isset($_SESSION['LEMsid']) ? $_SESSION['LEMsid'] : null, 4607 '', 4608 true 4609 ); 4610 $LEM->setVariableAndTokenMappingsForExpressionManager($_SESSION['LEMsid']); 4611 } 4612 } 4613 4614 /** 4615 * Initialize a survey so can use EM to manage navigation |
| #1 |
+
–
/media/shnoulle/data/www/master/application/controllers/QuestionAdministrationController.php(54): LimeExpressionManager::StartProcessingPage(false, true) 49 $this->aData['oSurvey'] = $this->aData['oSurvey'] ?? Survey::model()->findByPk($this->aData['surveyid']); 50 51 // Needed to evaluate EM expressions in question summary 52 // See bug #11845 53 LimeExpressionManager::SetSurveyId($this->aData['surveyid']); 54 LimeExpressionManager::StartProcessingPage(false, true); 55 56 $this->layout = 'layout_questioneditor'; 57 } 58 59 return parent::beforeRender($view); |
| #2 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CController.php(783): QuestionAdministrationController->beforeRender("create") 778 * @see renderPartial 779 * @see getLayoutFile 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 |
| #3 |
+
–
/media/shnoulle/data/www/master/application/controllers/QuestionAdministrationController.php(298): CController->render("create",
array("oSurvey" => Survey, "oQuestion" => Question,
"aQuestionTypeGroups" => array("single_choice_questions" =>
array("questionGroupName" => "Single choice questions",
"questionTypes" => array(array("title" => "5 point choice", "name"
=> "5pointchoice", "type" => "5", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Bootstrap buttons", "name" =>
"bootstrap_buttons", "type" => "L", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Bootstrap dropdown", "name" =>
"bootstrap_dropdown", "type" => "!", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Image select list (Radio)", "name" =>
"image_select-listradio", "type" => "L", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), ...)), "arrays" => array("questionGroupName" =>
"Arrays", "questionTypes" => array(array("title" => "Array",
"name" => "arrays/array", "type" => "F", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Array (5 point choice)", "name" =>
"arrays/5point", "type" => "A", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Array (10 point choice)", "name" =>
"arrays/10point", "type" => "B", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Array (Increase/Same/Decrease)", "name"
=> "arrays/increasesamedecrease", "type" => "E", "detailpage"
=> "
<div class="col-12 currentImageContainer">
..."), ...)), "multiple_choice_questions" =>
array("questionGroupName" => "Multiple choice questions",
"questionTypes" => array(array("title" => "Bootstrap buttons",
"name" => "bootstrap_buttons_multi", "type" => "M", "detailpage"
=> "
<div class="col-12 currentImageContainer">
..."), array("title" => "Image select multiple choice", "name"
=> "image_select-multiplechoice", "type" => "M", "detailpage"
=> "
<div class="col-12 currentImageContainer">
..."), array("title" => "Multiple choice", "name" =>
"multiplechoice", "type" => "M", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Multiple choice with comments", "name"
=> "multiplechoice_with_comments", "type" => "P", "detailpage"
=> "
<div class="col-12 currentImageContainer">
..."))), "text_questions" => array("questionGroupName" =>
"Text questions", "questionTypes" => array(array("title" =>
"Browser detection", "name" => "browserdetect", "type" => "S",
"detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Huge free text", "name" =>
"hugefreetext", "type" => "U", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Input on demand", "name" =>
"inputondemand", "type" => "Q", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), array("title" => "Long free text", "name" =>
"longfreetext", "type" => "T", "detailpage" => "
<div class="col-12 currentImageContainer">
..."), ...)), ...), "advancedSettings" => array("Logic" =>
array(array("name" => "random_group", "caption" => "Randomization
group name", "inputtype" => "text", "options" => null, ...)),
"Display" => array(array("name" => "hide_tip", "caption" =>
"Hide tip", "inputtype" => "switch", "options" => array("No",
"Yes"), ...), array("name" => "hidden", "caption" => "Always hide
this question", "inputtype" => "switch", "options" => array("No",
"Yes"), ...), array("name" => "readonly", "caption" => "Show as
readonly", "inputtype" => "text", "options" => null, ...),
array("name" => "cssclass", "caption" => "CSS class(es)",
"inputtype" => "text", "options" => null, ...)), "Other" =>
array(array("name" => "page_break", "caption" => "Insert page
break in printable view", "inputtype" => "switch", "options" =>
array("No", "Yes"), ...), array("name" => "max_filesize", "caption"
=> "Maximum file size allowed (in KB)", "inputtype" => "integer",
"options" => null, ...), array("name" => "max_num_of_files",
"caption" => "Max number of files", "inputtype" => "integer",
"options" => null, ...), array("name" => "min_num_of_files",
"caption" => "Min number of files", "inputtype" => "integer",
"options" => null, ...), ...), "Statistics" => array(array("name"
=> "statistics_showgraph", "caption" => "Display chart",
"inputtype" => "switch", "options" => array(1 => "Yes", 0 =>
"No"), ...), array("name" => "statistics_graphtype", "caption" =>
"Chart type", "inputtype" => "singleselect", "options" =>
array("Bar chart", "Pie chart", "Radar", "Line", ...), ...)), ...),
...)) 293 'selectormodeclass' => $selectormodeclass, 294 ]; 295 296 $this->aData = array_merge($this->aData, $viewData); 297 298 $this->render( 299 'create', 300 $viewData 301 ); 302 } 303 |
| #4 |
+
–
/media/shnoulle/data/www/master/application/controllers/QuestionAdministrationController.php(187): QuestionAdministrationController->renderFormAux(Question) 182 'qid' => $question->qid, 183 'landOnSideMenuTab' => 'structure' 184 ] 185 ); 186 $this->aData['tabOverviewEditor'] = $tabOverviewEditor; 187 $this->renderFormAux($question); 188 } 189 190 /** 191 * Helper function to render form. 192 * Used by create and edit actions. |
| #5 |
unknown(0): QuestionAdministrationController->actionEdit(2596, "overview")
|
| #6 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs(QuestionAdministrationController, array("2596", "overview")) 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
| #7 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(QuestionAdministrationController,
ReflectionMethod, array("r" => "questionAdministration/edit",
"questionId" => "2596", "landOnSideMenuTab" => "structure",
"tabOverviewEditor" => "overview", ...)) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
| #8 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("r"
=> "questionAdministration/edit", "questionId" => "2596",
"landOnSideMenuTab" => "structure", "tabOverviewEditor" =>
"overview", ...)) 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; |
| #9 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(CInlineAction) 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(); |
| #10 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, 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); |
| #11 |
+
–
/media/shnoulle/data/www/master/application/controllers/LSBaseController.php(145): CController->run("edit") 140 $this->redirect(array('/admin/authentication/sa/login')); 141 } 142 } 143 } 144 145 parent::run($action); 146 } 147 148 /** 149 * Load and set session vars 150 * |
| #12 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): LSBaseController->run("edit") 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))); |
| #13 |
+
–
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("questionAdministration/edit") 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. |
| #14 |
+
–
/media/shnoulle/data/www/master/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 /** |
| #15 |
+
–
/media/shnoulle/data/www/master/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 */ |