/mnt/data/shnoulle/nginx/www/master/application/views/questionAdministration/subquestionRow.twig(125)
113 </td> 114 115 <!-- Relevance equation --> 116 {% if first and scale_id == 0 %} 117 <td class="relevance-equation"> 118 <input 119 data-toggle="tooltip" 120 data-title="{{ gT("Click to expand") }}" 121 type='text' 122 class='relevance form-control input' 123 id='subquestions[{{ subquestion.qid }}][{{ scale_id }}][relevance]' 124 name='subquestions[{{ subquestion.qid }}][{{ scale_id }}][relevance]' 125 value="{{ subquestion.relevance }}" 126 onkeypress=" if(event.keyCode==13) { if (event && event.preventDefault) event.preventDefault(); document.getElementById('save-button').click(); return false;}" 127 /> 128 </td> 129 {% else %} 130 <!-- TOOD: Why render and then hide? --> 131 <span style="display: none" class="relevance relevance-equation"> 132 {# subquestion.relevance #} 133 </span> 134 {% endif %} 135 136 <!-- Icons add/edit/delete --> 137 <td style="vertical-align: middle; white-space: nowrap;" class="subquestion-actions">
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/third_party/Twig/Template.php(422): Twig\Template->displayWithErrorHandling(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/tmp/runtime/twig_cache/5c/5c35a6bca658a0e64eab6326ccfd076bc0c2928ebdfa3b41b3d03ab9a5f3ea40.php(247): Twig\Template->display(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...)) 242 // line 67 243 echo " <!-- Line tag --> 244 "; 245 // line 68 246 $this->loadTemplate("subquestionRow.twig", "__string_template__4ec27c84895301e1f7d9c7a23a631f0b19e5f795ac91ed020f60f0f85ff24a3e", 68)->display(twig_array_merge($context, ["position" => // line 69 247 ($context["position"] ?? null), "scale_id" => // line 70 248 $context["scale_id"], "activated" => // line 71 249 ($context["activated"] ?? null), "first" => // line 72 250 ($context["first"] ?? null), "subquestion" => // line 73 251 $context["subquestion"], "subquestionl10n" => $this->getAttribute($this->getAttribute( // line 74 252 $context["subquestion"], "questionl10ns", []), $context["lang"], [], "array"), "language" => // line 75 |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/third_party/Twig/Template.php(455): __TwigTemplate_48665f104153a6e9fde951389338ae5c43c3a6ef3e75405c2c642b4e19eb70f6->doDisplay(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), array()) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/third_party/Twig/Template.php(422): Twig\Template->displayWithErrorHandling(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/third_party/Twig/Template.php(434): Twig\Template->display(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...)) 429 ob_start(); 430 } else { 431 ob_start(function () { return ''; }); 432 } 433 try { 434 $this->display($context); 435 } catch (\Exception $e) { 436 while (ob_get_level() > $level) { 437 ob_end_clean(); 438 } 439 |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/third_party/Twig/TemplateWrapper.php(47): Twig\Template->render(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), false) 42 */ 43 public function render($context = []) 44 { 45 // using func_get_args() allows to not expose the blocks argument 46 // as it should only be used by internal code 47 return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []); 48 } 49 50 /** 51 * Displays the template. 52 * |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/LSETwigViewRenderer.php(500): Twig\TemplateWrapper->render(array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), false) 495 list($sString, $aDatas) = $this->getPluginsData($sString, $aDatas); 496 } 497 498 // Twig rendering 499 $oTwigTemplate = $twig->createTemplate($sString); 500 $sHtml = $oTwigTemplate->render($aDatas, false); 501 502 return $sHtml; 503 } 504 505 /** |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/LSETwigViewRenderer.php(225): LSETwigViewRenderer->convertTwigToHtml("<input type='hidden' name='subquestions_sortorder' value='' />
<...", array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...)) 220 $viewFile = $sLayoutFilePath; 221 } 222 223 if (file_exists($viewFile)) { 224 $line = file_get_contents($viewFile); 225 $sHtml = $this->convertTwigToHtml($line, $aDatas); 226 227 if ($bReturn) { 228 return $sHtml; 229 } else { 230 $this->renderHtmlPage($sHtml, $oTemplate); |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/views/questionAdministration/advancedSettings.php(65): LSETwigViewRenderer->renderViewFromFile("/application/views/questionAdministration/subquestions.twig", array("activated" => false, "scalecount" => 1, "subquestions" => array(array(Question)), "question" => Question, ...), true) 60 'question' => $question, 61 'allLanguages' => $oSurvey->allLanguages, 62 'language' => $oSurvey->language, 63 'hasLabelSetPermission' => Permission::model()->hasGlobalPermission('labelsets','create'), 64 ], 65 true 66 ); ?> 67 </div> 68 <?php endif; ?> 69 <?php if ($question->questionType->answerscales > 0): ?> 70 <div role="tabpanel" class="tab-pane" id="answeroptions"> |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...", array("question" => Question, "oSurvey" => Survey, "advancedSettings" => array("Display" => array(array("name" => "repeat_headings", "caption" => "Repeat headers", "inputtype" => "integer", "options" => null, ...), array("name" => "answer_width", "caption" => "(Sub-)question width", "inputtype" => "integer", "options" => null, ...), array("name" => "random_order", "caption" => "Random order", "inputtype" => "singleselect", "options" => array("No", "Yes"), ...), array("name" => "hide_tip", "caption" => "Hide tip", "inputtype" => "switch", "options" => array("No", "Yes"), ...), ...), "Logic" => array(array("name" => "min_answers", "caption" => "Minimum answers", "inputtype" => "text", "options" => null, ...), array("name" => "max_answers", "caption" => "Maximum answers", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter", "caption" => "Array filter", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter_style", "caption" => "Array filter style", "inputtype" => "buttongroup", "options" => array("Hidden", "Disabled"), ...), ...), "Other" => array(array("name" => "page_break", "caption" => "Insert page break in printable view", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "scale_export", "caption" => "SPSS export scale type", "inputtype" => "singleselect", "options" => array("Default", "Nominal", "Ordinal", "Scale"), ...)), "Statistics" => array(array("name" => "public_statistics", "caption" => "Show in public statistics", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_showgraph", "caption" => "Display chart", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_graphtype", "caption" => "Chart type", "inputtype" => "singleselect", "options" => array("Bar chart", "Pie chart", "Radar", "Line", ...), ...)))), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...", array("question" => Question, "oSurvey" => Survey, "advancedSettings" => array("Display" => array(array("name" => "repeat_headings", "caption" => "Repeat headers", "inputtype" => "integer", "options" => null, ...), array("name" => "answer_width", "caption" => "(Sub-)question width", "inputtype" => "integer", "options" => null, ...), array("name" => "random_order", "caption" => "Random order", "inputtype" => "singleselect", "options" => array("No", "Yes"), ...), array("name" => "hide_tip", "caption" => "Hide tip", "inputtype" => "switch", "options" => array("No", "Yes"), ...), ...), "Logic" => array(array("name" => "min_answers", "caption" => "Minimum answers", "inputtype" => "text", "options" => null, ...), array("name" => "max_answers", "caption" => "Maximum answers", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter", "caption" => "Array filter", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter_style", "caption" => "Array filter style", "inputtype" => "buttongroup", "options" => array("Hidden", "Disabled"), ...), ...), "Other" => array(array("name" => "page_break", "caption" => "Insert page break in printable view", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "scale_export", "caption" => "SPSS export scale type", "inputtype" => "singleselect", "options" => array("Default", "Nominal", "Ordinal", "Scale"), ...)), "Statistics" => array(array("name" => "public_statistics", "caption" => "Show in public statistics", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_showgraph", "caption" => "Display chart", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_graphtype", "caption" => "Chart type", "inputtype" => "singleselect", "options" => array("Bar chart", "Pie chart", "Radar", "Line", ...), ...)))), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/views/questionAdministration/create.php(144): CController->renderPartial("advancedSettings", array("question" => Question, "oSurvey" => Survey, "advancedSettings" => array("Display" => array(array("name" => "repeat_headings", "caption" => "Repeat headers", "inputtype" => "integer", "options" => null, ...), array("name" => "answer_width", "caption" => "(Sub-)question width", "inputtype" => "integer", "options" => null, ...), array("name" => "random_order", "caption" => "Random order", "inputtype" => "singleselect", "options" => array("No", "Yes"), ...), array("name" => "hide_tip", "caption" => "Hide tip", "inputtype" => "switch", "options" => array("No", "Yes"), ...), ...), "Logic" => array(array("name" => "min_answers", "caption" => "Minimum answers", "inputtype" => "text", "options" => null, ...), array("name" => "max_answers", "caption" => "Maximum answers", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter", "caption" => "Array filter", "inputtype" => "text", "options" => null, ...), array("name" => "array_filter_style", "caption" => "Array filter style", "inputtype" => "buttongroup", "options" => array("Hidden", "Disabled"), ...), ...), "Other" => array(array("name" => "page_break", "caption" => "Insert page break in printable view", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "scale_export", "caption" => "SPSS export scale type", "inputtype" => "singleselect", "options" => array("Default", "Nominal", "Ordinal", "Scale"), ...)), "Statistics" => array(array("name" => "public_statistics", "caption" => "Show in public statistics", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_showgraph", "caption" => "Display chart", "inputtype" => "switch", "options" => array("No", "Yes"), ...), array("name" => "statistics_graphtype", "caption" => "Chart type", "inputtype" => "singleselect", "options" => array("Bar chart", "Pie chart", "Radar", "Line", ...), ...))))) 139 <?php $this->renderPartial( 140 "advancedSettings", 141 [ 142 'question' => $oQuestion, 143 'oSurvey' => $oSurvey, 144 'advancedSettings' => $advancedSettings, 145 ] 146 ); ?> 147 </div> 148 149 </div> |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...", array("oSurvey" => Survey, "oQuestion" => Question, "questionTemplate" => "core", "aQuestionTypeGroups" => array("single_choice_questions" => array("questionGroupName" => "Single choice questions", "questionTypes" => array(array("id" => "63", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/5pointchoice", ...), array("id" => "70", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/listra...", ...), array("id" => "58", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/list_dropdown", ...), array("id" => "39", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/listradio", ...), ...)), "arrays" => array("questionGroupName" => "Arrays", "questionTypes" => array(array("id" => "44", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/array", ...), array("id" => "45", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/5point", ...), array("id" => "41", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/10point", ...), array("id" => "49", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/increasesamedec...", ...), ...)), "multiple_choice_questions" => array("questionGroupName" => "Multiple choice questions", "questionTypes" => array(array("id" => "71", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/multip...", ...), array("id" => "66", "name" => "image_select-multiplechoice", "visible" => "Y", "xml_path" => "themes/question/image_select/survey/questions/answer/multiplecho...", ...), array("id" => "57", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice", ...), array("id" => "65", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice_with_co...", ...))), "text_questions" => array("questionGroupName" => "Text questions", "questionTypes" => array(array("id" => "72", "name" => "cardSort", "visible" => "Y", "xml_path" => "upload/themes/question/cardSort/survey/questions/answer/multiple...", ...), array("id" => "69", "name" => "EmailInput", "visible" => "Y", "xml_path" => "upload/themes/question/EmailInput/survey/questions/answer/shortf...", ...), array("id" => "60", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/hugefreetext", ...), array("id" => "52", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/longfreetext", ...), ...)), ...), ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/views/questionAd...", array("oSurvey" => Survey, "oQuestion" => Question, "questionTemplate" => "core", "aQuestionTypeGroups" => array("single_choice_questions" => array("questionGroupName" => "Single choice questions", "questionTypes" => array(array("id" => "63", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/5pointchoice", ...), array("id" => "70", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/listra...", ...), array("id" => "58", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/list_dropdown", ...), array("id" => "39", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/listradio", ...), ...)), "arrays" => array("questionGroupName" => "Arrays", "questionTypes" => array(array("id" => "44", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/array", ...), array("id" => "45", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/5point", ...), array("id" => "41", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/10point", ...), array("id" => "49", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/increasesamedec...", ...), ...)), "multiple_choice_questions" => array("questionGroupName" => "Multiple choice questions", "questionTypes" => array(array("id" => "71", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/multip...", ...), array("id" => "66", "name" => "image_select-multiplechoice", "visible" => "Y", "xml_path" => "themes/question/image_select/survey/questions/answer/multiplecho...", ...), array("id" => "57", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice", ...), array("id" => "65", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice_with_co...", ...))), "text_questions" => array("questionGroupName" => "Text questions", "questionTypes" => array(array("id" => "72", "name" => "cardSort", "visible" => "Y", "xml_path" => "upload/themes/question/cardSort/survey/questions/answer/multiple...", ...), array("id" => "69", "name" => "EmailInput", "visible" => "Y", "xml_path" => "upload/themes/question/EmailInput/survey/questions/answer/shortf...", ...), array("id" => "60", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/hugefreetext", ...), array("id" => "52", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/longfreetext", ...), ...)), ...), ...), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(785): CController->renderPartial("create", array("oSurvey" => Survey, "oQuestion" => Question, "questionTemplate" => "core", "aQuestionTypeGroups" => array("single_choice_questions" => array("questionGroupName" => "Single choice questions", "questionTypes" => array(array("id" => "63", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/5pointchoice", ...), array("id" => "70", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/listra...", ...), array("id" => "58", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/list_dropdown", ...), array("id" => "39", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/listradio", ...), ...)), "arrays" => array("questionGroupName" => "Arrays", "questionTypes" => array(array("id" => "44", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/array", ...), array("id" => "45", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/5point", ...), array("id" => "41", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/10point", ...), array("id" => "49", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/increasesamedec...", ...), ...)), "multiple_choice_questions" => array("questionGroupName" => "Multiple choice questions", "questionTypes" => array(array("id" => "71", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/multip...", ...), array("id" => "66", "name" => "image_select-multiplechoice", "visible" => "Y", "xml_path" => "themes/question/image_select/survey/questions/answer/multiplecho...", ...), array("id" => "57", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice", ...), array("id" => "65", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice_with_co...", ...))), "text_questions" => array("questionGroupName" => "Text questions", "questionTypes" => array(array("id" => "72", "name" => "cardSort", "visible" => "Y", "xml_path" => "upload/themes/question/cardSort/survey/questions/answer/multiple...", ...), array("id" => "69", "name" => "EmailInput", "visible" => "Y", "xml_path" => "upload/themes/question/EmailInput/survey/questions/answer/shortf...", ...), array("id" => "60", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/hugefreetext", ...), array("id" => "52", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/longfreetext", ...), ...)), ...), ...), true) 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 789 $this->afterRender($view,$output); 790 |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/QuestionAdministrationController.php(258): CController->render("create", array("oSurvey" => Survey, "oQuestion" => Question, "questionTemplate" => "core", "aQuestionTypeGroups" => array("single_choice_questions" => array("questionGroupName" => "Single choice questions", "questionTypes" => array(array("id" => "63", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/5pointchoice", ...), array("id" => "70", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/listra...", ...), array("id" => "58", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/list_dropdown", ...), array("id" => "39", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/listradio", ...), ...)), "arrays" => array("questionGroupName" => "Arrays", "questionTypes" => array(array("id" => "44", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/array", ...), array("id" => "45", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/5point", ...), array("id" => "41", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/10point", ...), array("id" => "49", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/arrays/increasesamedec...", ...), ...)), "multiple_choice_questions" => array("questionGroupName" => "Multiple choice questions", "questionTypes" => array(array("id" => "71", "name" => "bootstrap_buttons", "visible" => "Y", "xml_path" => "themes/question/bootstrap_buttons/survey/questions/answer/multip...", ...), array("id" => "66", "name" => "image_select-multiplechoice", "visible" => "Y", "xml_path" => "themes/question/image_select/survey/questions/answer/multiplecho...", ...), array("id" => "57", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice", ...), array("id" => "65", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/multiplechoice_with_co...", ...))), "text_questions" => array("questionGroupName" => "Text questions", "questionTypes" => array(array("id" => "72", "name" => "cardSort", "visible" => "Y", "xml_path" => "upload/themes/question/cardSort/survey/questions/answer/multiple...", ...), array("id" => "69", "name" => "EmailInput", "visible" => "Y", "xml_path" => "upload/themes/question/EmailInput/survey/questions/answer/shortf...", ...), array("id" => "60", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/hugefreetext", ...), array("id" => "52", "name" => "core", "visible" => "Y", "xml_path" => "application/views/survey/questions/answer/longfreetext", ...), ...)), ...), ...)) 253 ]; 254 255 $this->aData = array_merge($this->aData, $viewData); 256 257 $this->render( 258 'create', 259 $viewData 260 ); 261 } 262 263 /** |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/QuestionAdministrationController.php(146): QuestionAdministrationController->renderFormAux(Question) 141 'qid' => $question->qid, 142 'landOnSideMenuTab' => 'structure' 143 ] 144 ); 145 $this->aData['tabOverviewEditor'] = $tabOverviewEditor; 146 $this->renderFormAux($question); 147 } 148 149 /** 150 * Helper function to render form. 151 * Used by create and edit actions. |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/QuestionAdministrationController.php(68): QuestionAdministrationController->actionEdit(5887) 63 * 64 * @throws CException 65 */ 66 public function actionView($surveyid, $gid = null, $qid = null, $landOnSideMenuTab = 'structure') 67 { 68 $this->actionEdit($qid); 69 } 70 71 /** 72 * Show form to create new question. 73 * |
#20 |
unknown(0): QuestionAdministrationController->actionView("446632", "415", "5887", "structure")
|
#21 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(QuestionAdministrationController, array("446632", "415", "5887", "structure")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#22 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(QuestionAdministrationController, ReflectionMethod, array("surveyid" => "446632", "gid" => "415", "qid" => "5887")) 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 } |
#23 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): CInlineAction->runWithParams(array("surveyid" => "446632", "gid" => "415", "qid" => "5887")) 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; |
#24 |
+
–
/mnt/data/shnoulle/nginx/www/master/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(); |
#25 |
+
–
/mnt/data/shnoulle/nginx/www/master/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); |
#26 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/LSBaseController.php(160): CController->run("view") 155 $this->redirect(array('/admin/authentication/sa/login')); 156 } 157 } 158 } 159 160 parent::run($action); 161 } 162 163 /** 164 * Load and set session vars 165 * |
#27 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): LSBaseController->run("view") 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))); |
#28 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("questionAdministration/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. |
#29 |
+
–
/mnt/data/shnoulle/nginx/www/master/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 /** |
#30 |
+
–
/mnt/data/shnoulle/nginx/www/master/index.php(182): CApplication->run() 177 require_once APPPATH . 'core/LSYii_Application' . EXT; 178 179 $config = require_once(APPPATH . 'config/internal' . EXT); 180 181 Yii::$enableIncludePath = false; 182 Yii::createApplication('LSYii_Application', $config)->run(); 183 184 /* End of file index.php */ 185 /* Location: ./index.php */ |