/media/shnoulle/data/webdev/master/application/helpers/export_helper.php(1538)
1526 ($usesscale == false || ($detail["scale_id"] == $usesscale)) 1527 ) { 1528 $colname = $key; 1529 break; 1530 } 1531 } 1532 } 1533 if ($colname != "") { 1534 // prepare and decrypt data 1535 $oResponse = Response::model($iSurveyID)->findByPk($iResponseID); 1536 $oResponse->decrypt(); 1537 $value = $oResponse->$colname; 1538 $element->setAttribute("defaultValue", $value); 1539 } 1540 } 1541 } 1542 1543 /** 1544 * Format defaultValue of Date/Time questions according to question date format 1545 * 1546 * @param mixed $element DOM element with the date to change 1547 * @param int $qid The qid of the question 1548 * @param int $iSurveyID The survey ID 1549 * @return void 1550 */
| #0 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/export_helper.php(1538): DOMElement->setAttribute("defaultValue", null) 1533 if ($colname != "") { 1534 // prepare and decrypt data 1535 $oResponse = Response::model($iSurveyID)->findByPk($iResponseID); 1536 $oResponse->decrypt(); 1537 $value = $oResponse->$colname; 1538 $element->setAttribute("defaultValue", $value); 1539 } 1540 } 1541 } 1542 1543 /** |
| #1 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/export_helper.php(1458): quexml_set_default_value(DOMElement, 1, 5335, 654535, ...) 1453 quexml_set_default_value($subQuestion, $iResponseID, $qid, $iSurveyID, $fieldmap, false, false, $Row['title'], $scale); 1454 } elseif ($use_answers == true) { 1455 // Ranking quesions 1456 quexml_set_default_value_rank($subQuestion, $iResponseID, $Row['qid'], $iSurveyID, $fieldmap, $Row->code); 1457 } else { 1458 quexml_set_default_value($subQuestion, $iResponseID, $Row['qid'], $iSurveyID, $fieldmap, false, !$use_answers, $aid); 1459 } 1460 $question->appendChild($subQuestion); 1461 } 1462 1463 return; |
| #2 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/export_helper.php(1943): quexml_create_subQuestions(DOMElement, "5263", "empl0time", 1, ...) 1938 quexml_create_subQuestions($question, $qid, $sgq, $iResponseID, $fieldmap); 1939 $response->appendChild(QueXMLCreateFree("text", quexml_get_lengthth($qid, "maximum_chars", "10"), "")); 1940 $question->appendChild($response); 1941 break; 1942 case "K": //MULTIPLE NUMERICAL 1943 quexml_create_subQuestions($question, $qid, $sgq, $iResponseID, $fieldmap); 1944 $response->appendChild(QueXMLCreateFree("integer", quexml_get_lengthth($qid, "maximum_chars", "10"), "")); 1945 $question->appendChild($response); 1946 break; 1947 case "N": //NUMERICAL QUESTION TYPE 1948 $response->appendChild(QueXMLCreateFree("integer", quexml_get_lengthth($qid, "maximum_chars", "10"), "")); |
| #3 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/ResponsesController.php(99): quexml_export(654535, "de", 1) 094 // Setting the selected language for printout 095 App()->setLanguage($sBrowseLanguage); 096 $quexmlpdf->setLanguage($sBrowseLanguage); 097 set_time_limit(120); 098 App()->loadHelper('export'); 099 $quexml = quexml_export($surveyId, $sBrowseLanguage, $id); 100 $quexmlpdf->create($quexmlpdf->createqueXML($quexml)); 101 $quexmlpdf->write_out("$surveyId-$id-queXML.pdf"); 102 } else { 103 App()->user->setFlash('error', gT("You do not have permission to access this page.")); 104 $this->redirect(['surveyAdministration/view', 'surveyid' => $surveyId]); |
| #4 |
unknown(0): ResponsesController->actionViewquexmlpdf(654535, 1, "")
|
| #5 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs(ResponsesController, array("654535", "1", "")) 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
| #6 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(ResponsesController,
ReflectionMethod, array("r" => "responses/viewquexmlpdf", "surveyId"
=> "654535", "id" => "1", "browseLang" => "")) 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 } |
| #7 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "responses/viewquexmlpdf", "surveyId" => "654535", "id" => "1", "browseLang" => "")) 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; |
| #8 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
| #9 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
| #10 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("postOnly + delete, deleteSingle, deleteAttachments")) 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/webdev/master/application/controllers/LSBaseController.php(145): CController->run("viewquexmlpdf") 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/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): LSBaseController->run("viewquexmlpdf") 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/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("responses/viewquexmlpdf") 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/webdev/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/webdev/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 */ |