id related_id class type/scale name relevance text help language validation mandatory other default same_default allowed_filetypes alphasort answer_width answer_width_bycolumn array_filter array_filter_exclude array_filter_style assessment_value category_separator choice_input_columns choice_title code_filter commented_checkbox commented_checkbox_auto cssclass date_format date_max date_min display_columns display_rows display_type dropdown_dates dropdown_dates_minute_step dropdown_dates_month_style dropdown_prefix dropdown_prepostfix dropdown_separators dropdown_size dualscale_headerA dualscale_headerB em_validation_q em_validation_q_tip em_validation_sq em_validation_sq_tip equals_num_value equation exclude_all_others exclude_all_others_auto hidden hide_tip input_boxes input_size label_input_columns location_city location_country location_defaultcoordinates location_mapheight location_mapservice location_mapwidth location_mapzoom location_nodefaultfromip location_postal location_state max_answers max_filesize max_num_of_files max_num_value max_num_value_n max_subquestions maximum_chars min_answers min_num_of_files min_num_value min_num_value_n multiflexible_checkbox multiflexible_max multiflexible_min multiflexible_step num_value_int_only numbers_only other_comment_mandatory other_numbers_only other_replace_text page_break parent_order placeholder prefix printable_help public_statistics random_group random_order rank_title repeat_headings reverse samechoiceheight samelistheight scale_export show_comment show_grand_total show_title show_totals showpopups slider_accuracy slider_custom_handle slider_default slider_default_set slider_handle slider_layout slider_max slider_middlestart slider_min slider_orientation slider_rating slider_reset slider_reversed slider_separator slider_showminmax statistics_graphtype statistics_showgraph statistics_showmap suffix text_input_columns text_input_width time_limit time_limit_action time_limit_countdown_message time_limit_disable_next time_limit_disable_prev time_limit_message time_limit_message_delay time_limit_message_style time_limit_timer_style time_limit_warning time_limit_warning_2 time_limit_warning_2_display_time time_limit_warning_2_message time_limit_warning_2_style time_limit_warning_display_time time_limit_warning_message time_limit_warning_style use_dropdown value_range_allows_missing S sid 141682 S admin inherit S adminemail inherit S anonymized I S faxto S format I S savetimings I S template inherit S language en S additional_languages S datestamp I S usecookie I S allowregister I S allowsave I S autonumber_start 0 S autoredirect I S allowprev I S printanswers I S ipaddr I S refurl I S publicstatistics I S publicgraphs I S listpublic I S htmlemail I S sendconfirmation I S tokenanswerspersistence I S assessments I S usecaptcha E S usetokens N S bounce_email inherit S emailresponseto inherit S emailnotificationto inherit S tokenlength -1 S showxquestions I S showgroupinfo I S shownoanswer I S showqnumcode I S bounceprocessing N S showwelcome I S showprogress I S questionindex -1 S navigationdelay -1 S nokeyboard I S alloweditaftercompletion I S gsid 1 S showsurveypolicynotice 0 S tokenencryptionoptions S ipanonymize I SL surveyls_survey_id 141682 en SL surveyls_language en en SL surveyls_title test en SL surveyls_description en SL surveyls_welcometext en SL surveyls_endtext en SL surveyls_url en SL surveyls_urldescription en SL surveyls_email_invite_subj "Invitation to participate in a survey" en SL surveyls_email_invite "Dear {FIRSTNAME},you have been invited to participate in a survey.The survey is titled:""{SURVEYNAME}""""{SURVEYDESCRIPTION}""To participate, please click on the link below.Sincerely,{ADMINNAME} ({ADMINEMAIL})----------------------------------------------Click here to do the survey:{SURVEYURL}If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:{OPTOUTURL}If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:{OPTINURL}" en SL surveyls_email_remind_subj "Reminder to participate in a survey" en SL surveyls_email_remind "Dear {FIRSTNAME},Recently we invited you to participate in a survey.We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.The survey is titled:""{SURVEYNAME}""""{SURVEYDESCRIPTION}""To participate, please click on the link below.Sincerely,{ADMINNAME} ({ADMINEMAIL})----------------------------------------------Click here to do the survey:{SURVEYURL}If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:{OPTOUTURL}" en SL surveyls_email_register_subj "Survey registration confirmation" en SL surveyls_email_register "Dear {FIRSTNAME},You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.To complete this survey, click on the following URL:{SURVEYURL}If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}." en SL surveyls_email_confirm_subj "Confirmation of your participation in our survey" en SL surveyls_email_confirm "Dear {FIRSTNAME},this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.Sincerely,{ADMINNAME}" en SL surveyls_dateformat 9 en SL email_admin_notification_subj "Response submission for survey {SURVEYNAME}" en SL email_admin_notification "Hello,A new response was submitted for your survey '{SURVEYNAME}'.Click the following link to see the individual response:{VIEWRESPONSEURL}Click the following link to edit the individual response:{EDITRESPONSEURL}View statistics by clicking here:{STATISTICSURL}" en SL email_admin_responses_subj "Response submission for survey {SURVEYNAME} with results" en SL email_admin_responses "Hello,A new response was submitted for your survey '{SURVEYNAME}'.Click the following link to see the individual response:{VIEWRESPONSEURL}Click the following link to edit the individual response:{EDITRESPONSEURL}View statistics by clicking here:{STATISTICSURL}The following answers were given by the participant:{ANSWERTABLE}" en SL surveyls_numberformat 0 en
/var/www/surveys/application/helpers/export_helper.php(2574)
2562 $defaultvalues[$defaultvalue['language']][$defaultvalue['sqid']] = $defaultvalue['defaultvalue']; 2563 } else { 2564 $defaultvalues[$defaultvalue['language']][$defaultvalue['qid']] = $defaultvalue['defaultvalue']; 2565 } 2566 } 2567 2568 $groups = array(); 2569 $index_languages = 0; 2570 foreach ($aSurveyLanguages as $key => $language) { 2571 // groups data 2572 if (array_key_exists('groups', $xmlData)){ 2573 // Converting the XML to array has the disadvantage that if only there is one child it will not be properly nested in the array 2574 if (!array_key_exists('gid', $xmlData['groups']['rows']['row'][0])){ 2575 $aSaveData=$xmlData['groups']['rows']['row']; 2576 unset($xmlData['groups']['rows']['row']); 2577 $xmlData['groups']['rows']['row'][0] = $aSaveData; 2578 } 2579 2580 foreach($xmlData['groups']['rows']['row'] as $group){ 2581 $groups_data[$group['gid']] = $group; 2582 } 2583 2584 // Converting the XML to array has the disadvantage that if only there is one child it will not be properly nested in the array 2585 if (!array_key_exists('gid', $xmlData['group_l10ns']['rows']['row'][0])){ 2586 $aSaveData=$xmlData['group_l10ns']['rows']['row'];
#0 |
+
–
/var/www/surveys/application/controllers/admin/export.php(1344): tsvSurveyExport("141682") 1339 header("Content-Type: text/tab-separated-values charset=UTF-8"); 1340 header("Content-Disposition: attachment; filename=$fn"); 1341 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past 1342 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 1343 header("Cache-Control: must-revalidate, no-store, no-cache"); 1344 tsvSurveyExport($surveyid); 1345 } 1346 1347 /** 1348 * @param string $content_type 1349 */ |
#1 |
+
–
/var/www/surveys/application/controllers/admin/export.php(1083): export->_exporttsv("141682") 1078 1079 echo quexml_export($iSurveyID, $quexmllang); 1080 Yii::app()->end(); 1081 } 1082 } elseif ($action == 'exportstructuretsv') { 1083 $this->_exporttsv($iSurveyID); 1084 } elseif ($action == "exportarchive") { 1085 $this->_exportarchive($iSurveyID); 1086 } elseif ($action == "exportprintables") { 1087 $this->_exportPrintableHtmls($iSurveyID); 1088 } |
#2 |
+
–
/var/www/surveys/application/controllers/admin/export.php(42): export->_surveyexport("exportstructuretsv", "141682") 37 { 38 $action = Yii::app()->request->getParam('action'); 39 $iSurveyID = sanitize_int(Yii::app()->request->getParam('surveyid')); 40 41 if (Permission::model()->hasSurveyPermission($iSurveyID, 'surveycontent', 'export')) { 42 $this->_surveyexport($action, $iSurveyID); 43 return; 44 } 45 } 46 47 /** |
#3 |
unknown(0): export->survey()
|
#4 |
+
–
/var/www/surveys/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(export, array()) 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 |
+
–
/var/www/surveys/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(export, ReflectionMethod, array("r" => "admin/export/sa/survey/action/exportstructuretsv/surveyid/141682", "sa" => "survey", "action" => "exportstructuretsv", "surveyid" => 141682, ...)) 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#6 |
+
–
/var/www/surveys/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/export/sa/survey/action/exportstructuretsv/surveyid/141682", "sa" => "survey", "action" => "exportstructuretsv", "surveyid" => 141682, ...)) 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 |
+
–
/var/www/surveys/framework/web/CController.php(286): CController->runAction(export) 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 |
+
–
/var/www/surveys/framework/web/CController.php(265): CController->runActionWithFilters(export, 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 |
+
–
/var/www/surveys/application/controllers/AdminController.php(180): CController->run("export") 175 } 176 177 $this->runModuleController($action); 178 179 180 return parent::run($action); 181 } 182 183 /** 184 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 185 * |
#10 |
+
–
/var/www/surveys/framework/web/CWebApplication.php(282): AdminController->run("export") 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))); |
#11 |
+
–
/var/www/surveys/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/export/sa/survey/action/exportstructuretsv/surveyid/141682") 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. |
#12 |
+
–
/var/www/surveys/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 /** |
#13 |
+
–
/var/www/surveys/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 */ |