1,'01-01-1980 00:00:00',1,'en','1268315983',1,1,
/var/www/ls-ce-6x/public/application/helpers/export_helper.php(86)
74 return preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY); 75 } 76 77 /** 78 * Quotes a string with surrounding quotes and masking inside quotes by doubling them 79 * 80 * @param string $sText Text to quote 81 * @param string $sQuoteChar The quote character (Use ' for SPSS and " for R) 82 * @param string $aField General field information from SPSSFieldmap 83 */ 84 function quoteSPSS($sText, $sQuoteChar, $aField) 85 { 86 $sText = trim($sText); 87 if ($sText == '') { 88 return ''; 89 } 90 if (is_numeric($sText) && $aField['SPSStype'] == 'F') { 91 $iDecimals = 0; 92 if (strpos((string) $aField['size'], '.') > 0) { 93 $iDecimals = substr((string) $aField['size'], strpos((string) $aField['size'], '.') + 1); 94 } 95 return number_format($sText, $iDecimals, '.', ''); 96 } 97 return $sQuoteChar . str_replace($sQuoteChar, $sQuoteChar . $sQuoteChar, $sText) . $sQuoteChar; 98 }
| #0 |
+
–
/var/www/ls-ce-6x/public/application/helpers/export_helper.php(86): trim(null) 81 * @param string $sQuoteChar The quote character (Use ' for SPSS and " for R) 82 * @param string $aField General field information from SPSSFieldmap 83 */ 84 function quoteSPSS($sText, $sQuoteChar, $aField) 85 { 86 $sText = trim($sText); 87 if ($sText == '') { 88 return ''; 89 } 90 if (is_numeric($sText) && $aField['SPSStype'] == 'F') { 91 $iDecimals = 0; |
| #1 |
+
–
/var/www/ls-ce-6x/public/application/helpers/export_helper.php(249): quoteSPSS(null, "'", array("id" => "V8", "name" => "549467X2", "qid" => 398, "code" => "SQ003", ...)) 244 case 'M': 245 if (substr((string) $field['code'], -7) != 'comment' && substr((string) $field['code'], -5) != 'other') { 246 if ($row[$fieldno] == 'Y') { 247 echo quoteSPSS('1', $q, $field); 248 } elseif ($row[$fieldno] === '') { 249 echo quoteSPSS($sEmptyAnswerValue, $q, $field); 250 } elseif (isset($row[$fieldno])) { 251 echo quoteSPSS('0', $q, $field); 252 } else { 253 echo quoteSPSS($na, $q, $field); 254 } |
| #2 |
+
–
/var/www/ls-ce-6x/public/application/controllers/admin/Export.php(436): SPSSExportData(549467, "16384", "", null, ...) 431 if ($spssver == 2 || $spssver == 3) { 432 echo "\xEF\xBB\xBF"; 433 } 434 $sNoAnswerValue = Yii::app()->getRequest()->getPost('noanswervalue'); 435 $sEmptyAnswerValue = Yii::app()->getRequest()->getPost('emptyanswervalue'); 436 SPSSExportData($iSurveyID, $iLength, $sNoAnswerValue, $sEmptyAnswerValue, '\'', false, $sLanguage); 437 438 App()->end(); 439 } 440 441 if ($subaction == 'dlstructure') { |
| #3 |
unknown(0): Export->exportspss()
|
| #4 |
+
–
/var/www/ls-ce-6x/public/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs(Export, array()) 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
| #5 |
+
–
/var/www/ls-ce-6x/public/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal(Export, ReflectionMethod, array("sid" => 549467, "sa" => "exportspss", "iSurveyId" => 549467, "iSurveyID" => 549467, ...)) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
| #6 |
+
–
/var/www/ls-ce-6x/public/vendor/yiisoft/yii/framework/web/CController.php(308): SurveyCommonAction->runWithParams(array("sid" => 549467, "sa" => "exportspss", "iSurveyId" => 549467, "iSurveyID" => 549467, ...)) 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/ls-ce-6x/public/vendor/yiisoft/yii/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/ls-ce-6x/public/vendor/yiisoft/yii/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/ls-ce-6x/public/application/controllers/AdminController.php(204): CController->run("export") 199 $this->runModuleController($action); 200 // this will redirect the default action to the new controller previously "admin/index" or "admin" to "dashboard/view" 201 if (empty($action) || $action === 'index') { 202 $this->redirect($this->createUrl('dashboard/view')); 203 } 204 return parent::run($action); 205 } 206 207 /** 208 * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers. 209 * |
| #10 |
+
–
/var/www/ls-ce-6x/public/vendor/yiisoft/yii/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/ls-ce-6x/public/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/export/sa/exportspss") 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/ls-ce-6x/public/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 /** |
| #13 |
+
–
/var/www/ls-ce-6x/public/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 */ |