C:\limesurvey_train\application\views\admin\export\statistics_view.php(864)
852 853 //Get answers. We always use the answer code because the label might be too long elsewise 854 855 $counter2=0; 856 857 //check all the answers 858 foreach($result[$key1] as $key=>$row) 859 { 860 $row=array_values($row); 861 $myfield2 = $myfield . "$row[0]"; 862 echo "<!-- $myfield2 - "; 863 864 if (isset($_POST[$myfield2])) {echo htmlspecialchars($_POST[$myfield2]);} 865 866 echo " -->\n"; 867 868 if ($counter2 == 4) 869 { 870 echo "\t</tr>\n\t<tr>\n"; 871 $counter2=0; 872 } 873 874 echo "\t<td align='center'>" 875 ."<input type='checkbox' name='summary[]' value='$myfield2'"; 876
#0 |
+
–
C:\limesurvey_train\application\views\admin\export\statistics_view.php(864): htmlspecialchars(array("2")) 859 { 860 $row=array_values($row); 861 $myfield2 = $myfield . "$row[0]"; 862 echo "<!-- $myfield2 - "; 863 864 if (isset($_POST[$myfield2])) {echo htmlspecialchars($_POST[$myfield2]);} 865 866 echo " -->\n"; 867 868 if ($counter2 == 4) 869 { |
#1 |
+
–
C:\limesurvey_train\framework\web\CBaseController.php(127): require("C:\limesurvey_train\application\views\admin\export\statistics_vi...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#2 |
+
–
C:\limesurvey_train\framework\web\CBaseController.php(96): CBaseController->renderInternal("C:\limesurvey_train\application\views/admin/export/statistics_vi...", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#3 |
+
–
C:\limesurvey_train\framework\web\CController.php(870): CBaseController->renderFile("C:\limesurvey_train\application\views/admin/export/statistics_vi...", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#4 |
+
–
C:\limesurvey_train\framework\web\CController.php(783): CController->renderPartial("/admin/export/statistics_view", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#5 |
+
–
C:\limesurvey_train\application\core\Survey_Common_Action.php(286): CController->render("/admin/export/statistics_view", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...)) 281 { 282 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) 283 { 284 if (is_numeric($sViewKey)) 285 { 286 Yii::app()->getController()->render($sViewPath . $viewUrl, $aData); 287 } 288 elseif (is_array($viewUrl)) 289 { 290 foreach ($viewUrl as $aSubData) 291 { |
#6 |
+
–
C:\limesurvey_train\application\controllers\admin\statistics.php(629): Survey_Common_Action->_renderWrappedTemplate("export", "statistics_view", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...)) 624 * @param string|array $aViewUrls View url(s) 625 * @param array $aData Data to be passed on. Optional. 626 */ 627 protected function _renderWrappedTemplate($sAction = 'export', $aViewUrls = array(), $aData = array()) 628 { 629 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 630 } 631 632 } |
#7 |
+
–
C:\limesurvey_train\application\controllers\admin\statistics.php(487): statistics->_renderWrappedTemplate("export", "statistics_view", array("clang" => Limesurvey_lang, "imageurl" => "/images", "sql" => "", "surveyid" => "193222", ...)) 482 483 $aData['sStatisticsLanguage']=$statlang; 484 $aData['output'] = $statisticsoutput; 485 $aData['summary'] = $summary; 486 487 $this->_renderWrappedTemplate('export', 'statistics_view', $aData); 488 489 } 490 491 492 /** |
#8 |
unknown(0): statistics->run("193222", null)
|
#9 |
+
–
C:\limesurvey_train\framework\web\actions\CAction.php(107): ReflectionMethod->invokeArgs(statistics, array("193222", null)) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#10 |
+
–
C:\limesurvey_train\application\core\Survey_Common_Action.php(100): CAction->runWithParamsInternal(statistics, ReflectionMethod, array("r" => "admin/statistics/sa/index/surveyid/193222", "sa" => "index", "surveyid" => "193222", "iSurveyId" => "193222", ...)) 095 $oMethod = new ReflectionMethod($this, $sDefault); 096 } 097 098 // We're all good to go, let's execute it 099 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 100 return parent::runWithParamsInternal($this, $oMethod, $params); 101 } 102 103 /** 104 * Some functions have different parameters, which are just an alias of the 105 * usual parameters we're getting in the url. This function just populates |
#11 |
+
–
C:\limesurvey_train\framework\web\CController.php(309): Survey_Common_Action->runWithParams(array("r" => "admin/statistics/sa/index/surveyid/193222", "sa" => "index", "surveyid" => "193222")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#12 |
+
–
C:\limesurvey_train\framework\web\CController.php(287): CController->runAction(statistics) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#13 |
+
–
C:\limesurvey_train\framework\web\CController.php(266): CController->runActionWithFilters(statistics, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#14 |
+
–
C:\limesurvey_train\application\controllers\AdminController.php(169): CController->run("statistics") 164 $this->redirect($this->createUrl('/admin/authentication/sa/login')); 165 } 166 167 } 168 169 return parent::run($action); 170 } 171 172 /** 173 * Routes all the actions to their respective places 174 * |
#15 |
+
–
C:\limesurvey_train\framework\web\CWebApplication.php(276): AdminController->run("statistics") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#16 |
+
–
C:\limesurvey_train\framework\web\CWebApplication.php(135): CWebApplication->runController("admin/statistics/sa/index/surveyid/193222") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#17 |
+
–
C:\limesurvey_train\framework\base\CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#18 |
+
–
C:\limesurvey_train\index.php(178): CApplication->run() 173 * 174 */ 175 require_once BASEPATH . 'yii' . EXT; 176 require_once APPPATH . 'core/LSYii_Application' . EXT; 177 178 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 179 180 /* End of file index.php */ 181 /* Location: ./index.php */ |