/mnt/data/shnoulle/nginx/www/3LTS/application/models/SurveyDynamic.php(786)
774 * @return array | boolean 775 */ 776 public function getQuestionArray($oQuestion, $oResponses, $bHonorConditions, $subquestion = false, $getComment = false) 777 { 778 779 $attributes = QuestionAttribute::model()->getQuestionAttributes($oQuestion->qid); 780 781 /* Question is irrelevant , check printanswershonorsconditions */ 782 if ($bHonorConditions && !LimeExpressionManager::QuestionIsRelevant($oQuestion->qid)) { 783 return false; 784 } 785 /* Question is hideen to participant : never show */ 786 if ($attributes['hidden']) { 787 return false; 788 } 789 790 $aQuestionAttributes = $oQuestion->attributes; 791 $aQuestionAttributes['questionSrc'] = $oQuestion->question; 792 $result = LimeExpressionManager::ProcessString($oQuestion->question, 40, NULL, 1, 1); 793 $aQuestionAttributes['question'] = $result; 794 795 $aQuestionAttributes['helpSrc'] = $oQuestion->help; 796 $result = LimeExpressionManager::ProcessString($oQuestion->help, 40, NULL, 1, 1); 797 $aQuestionAttributes['help'] = $result; 798
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/models/SurveyDynamic.php(836): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1, true) 831 "parent_qid" => $oQuestion->qid, 832 "qid" => "other", 833 "question" => !empty($attributes['other_replace_text'][$oQuestion->language]) ? $attributes['other_replace_text'][$oQuestion->language] : gT("Other"), 834 "title" => "other", 835 ), false); 836 $aQuestionAttributes['subquestions']["other"] = $this->getQuestionArray($oOtherQuestion, $oResponses, $bHonorConditions, true); 837 if ($oQuestion->type == "P") { 838 $aQuestionAttributes['subquestions']["other"]['comment'] = $this->getQuestionArray($oOtherQuestion, $oResponses, $bHonorConditions, true, true); 839 } 840 } 841 } |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/models/SurveyDynamic.php(994): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1) 989 } 990 991 $aAnswersArray = array(); 992 $aQuestionArray = array_filter($oGroup->questions, function($oQuestion) use ($sLanguage) { return $oQuestion->language == $sLanguage;}); 993 foreach ( $aQuestionArray as $oQuestion) { 994 $aQuestionArray = $this->getQuestionArray($oQuestion, $oResponses, $bHonorConditions); 995 996 if ($aQuestionArray === false) { 997 continue; 998 } 999 |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/PrintanswersController.php(126): SurveyDynamic->getPrintAnswersArray("1", "en", 1) 121 $sAnonymized = $aSurveyInfo['anonymized']; 122 //OK. IF WE GOT THIS FAR, THEN THE SURVEY EXISTS AND IT IS ACTIVE, SO LETS GET TO WORK. 123 //SHOW HEADER 124 $oResponseRow = SurveyDynamic::model($iSurveyID); 125 $printanswershonorsconditions = Yii::app()->getConfig('printanswershonorsconditions'); 126 $groupArray = $oResponseRow->getPrintAnswersArray($sSRID, $sLanguage, $printanswershonorsconditions); 127 128 // Remove all <script>...</script> content from result. 129 Yii::import('application.helpers.viewHelper'); 130 foreach ($groupArray as &$group) { 131 $group['description'] = viewHelper::purified($group['description']); |
#3 |
unknown(0): PrintanswersController->actionView("928725", false)
|
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(PrintanswersController, array("928725", false)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(PrintanswersController, ReflectionMethod, array("r" => "printanswers/view", "surveyid" => "928725")) 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 } |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "printanswers/view", "surveyid" => "928725")) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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(); |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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); |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): CController->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))); |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("printanswers/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 */ |