/mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/views/includes/statisticsTopbarRight_view.php(22)
10 </a> 11 <button class="btn btn-success" name="view-button" id="view-button" data-submit-form=1> 12 <span class="fa"></span> 13 <?php eT("View statistics"); ?> 14 </button> 15 16 <a class="btn btn-default" href="<?php echo Yii::app()->createUrl("admin/statistics/sa/index/",array('surveyid'=>$surveyid)) ?>" id="clear-button"> 17 <span class="fa fa-refresh text-success"></span> 18 <?php eT("Clear"); ?> 19 </a> 20 <?php endif; ?> 21 22 <a class="btn btn-danger" href="<?php echo $closeUrl; ?>" role="button"> 23 <span class="fa fa-close"></span> 24 <?php eT("Close");?> 25 </a>
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/master/application/extensions/Topba...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/extensions/Topba...",
array("imageurl" => "/master/assets/images", "surveyid" =>
"199893", "language" => "en", "display" => array("menu_bars" =>
array("browse" => "Browse responses")), ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/widgets/CWidget.php(244): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/extensions/Topba...",
array("imageurl" => "/master/assets/images", "surveyid" =>
"199893", "language" => "en", "display" => array("menu_bars" =>
array("browse" => "Browse responses")), ...), true) 239 * @see getViewFile 240 */ 241 public function render($view,$data=null,$return=false) 242 { 243 if(($viewFile=$this->getViewFile($view))!==false) 244 return $this->renderFile($viewFile,$data,$return); 245 else 246 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 247 array('{widget}'=>get_class($this), '{view}'=>$view))); 248 } 249 } |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/TopbarWidget.php(42): CWidget->render("includes/statisticsTopbarRight_view",
array("imageurl" => "/master/assets/images", "surveyid" =>
"199893", "language" => "en", "display" => array("menu_bars" =>
array("browse" => "Browse responses")), ...), true) 37 38 // If the view for the right side is set, render the content and add it to the main view data 39 $rightSideView = $this->config->getRightSideView(); 40 if (!empty($rightSideView)) { 41 $rightSideData = array_merge($this->config->getRightSideData(), $aTopbarData); 42 $aTopbarData['rightSideContent'] = $this->render('includes/' . $rightSideView, $rightSideData, true); 43 } 44 45 $aTopbarData['topbarId'] = $this->config->getId(); 46 $aTopbarData = array_merge($this->config->getData(), $aTopbarData); 47 |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/TopbarWidget.php(21): TopbarWidget->renderTopbar() 16 parent::init(); 17 18 if (is_null($this->config)) return; 19 20 // Render the topbar 21 $this->renderTopbar(); 22 } 23 24 /** 25 * Renders the topbar 26 */ |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(147): TopbarWidget->init() 142 * @return CWidget the fully initialized widget instance. 143 */ 144 public function createWidget($className,$properties=array()) 145 { 146 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 147 $widget->init(); 148 return $widget; 149 } 150 151 /** 152 * Creates a widget and executes it. |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(169): CBaseController->createWidget("ext.TopbarWidget.TopbarWidget",
array("config" => TopbarConfiguration, "aData" =>
array("imageurl" => "/master/assets/images", "surveyid" =>
"199893", "language" => "en", "display" => array("menu_bars" =>
array("browse" => "Browse responses")), ...))) 164 { 165 ob_start(); 166 ob_implicit_flush(false); 167 try 168 { 169 $widget=$this->createWidget($className,$properties); 170 $widget->run(); 171 } 172 catch(Exception $e) 173 { 174 ob_end_clean(); |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/LayoutHelper.php(469): CBaseController->widget("ext.TopbarWidget.TopbarWidget",
array("config" => TopbarConfiguration, "aData" =>
array("imageurl" => "/master/assets/images", "surveyid" =>
"199893", "language" => "en", "display" => array("menu_bars" =>
array("browse" => "Browse responses")), ...)), true) 464 'ext.TopbarWidget.TopbarWidget', 465 array( 466 'config' => $oTopbarConfig, 467 'aData' => $aData, 468 ), 469 true 470 ); 471 } 472 473 /** 474 * Vue Topbar |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/views/admin/super/layout_insurvey.php(40): LayoutHelper::renderTopbar(array("imageurl"
=> "/master/assets/images", "surveyid" => "199893", "language"
=> "en", "display" => array("menu_bars" => array("browse" =>
"Browse responses")), ...)) 35 echo '<div ' 36 . 'class="ls-flex-column align-items-flex-start align-content-flex-start col-11 ls-flex-item transition-animate-width main-content-container" ' 37 . '>'; 38 39 echo '<div id="pjax-content" class="col-12">'; 40 echo LayoutHelper::renderTopbar($aData); 41 42 //Rendered through /admin/responses/browsemenubar_view 43 //$this->_browsemenubar($aData); 44 //Rendered through /admin/survey/Question/questionbar_view 45 $this->_organizequestionbar($aData); |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(244): require("/mnt/data/shnoulle/nginx/www/master/application/views/admin/supe...") 239 } 240 241 if ($_return_) { 242 ob_start(); 243 ob_implicit_flush(0); 244 require($_viewFile_); 245 return ob_get_clean(); 246 } else { 247 require($_viewFile_); 248 } 249 } |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(357): Survey_Common_Action->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/admin/supe...",
array("content" => "<x-test
id="action::statisticsIndex"></x-test><!-- Javascript
va...", "aData" => array("imageurl" => "/master/assets/images",
"surveyid" => "199893", "language" => "en", "display" =>
array("menu_bars" => array("browse" => "Browse responses")),
...)), true) 352 } 353 } else { 354 $renderFile = $basePath . '/' . $sRenderFile; 355 } 356 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 357 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 358 359 App()->getClientScript()->render($out); 360 echo $out; 361 } 362 |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/statistics.php(850): Survey_Common_Action->_renderWrappedTemplate("export",
"statistics_view", array("imageurl" => "/master/assets/images",
"surveyid" => "199893", "language" => "en", "display" =>
array("menu_bars" => array("browse" => "Browse responses")), ...),
false) 845 846 $aData['sidemenu']['state'] = false; 847 $iSurveyId = $aData['surveyid']; 848 $aData['title_bar']['title'] = gT('Browse responses') . ': ' . $oSurvey->currentLanguageSettings->surveyls_title; 849 $aData['subaction'] = gT('Statistics'); 850 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 851 } 852 } |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/statistics.php(516): statistics->_renderWrappedTemplate("export",
"statistics_view", array("imageurl" => "/master/assets/images",
"surveyid" => "199893", "language" => "en", "display" =>
array("menu_bars" => array("browse" => "Browse responses")), ...))
511 512 if (!isset($aData['result'])) { 513 $aData['result'] = null; 514 } 515 516 $this->_renderWrappedTemplate('export', 'statistics_view', $aData); 517 } 518 519 520 /** 521 * Returns a simple list of values in a particular column, that meet the requirements of the SQL |
#13 |
unknown(0): statistics->run("199893", null)
|
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(statistics, array("199893", null)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(statistics,
ReflectionMethod, array("surveyid" => "199893", "sa" => "index",
"iSurveyId" => "199893", "iSurveyID" => "199893", ...)) 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 |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "199893", "sa" => "index", "iSurveyId" => "199893", "iSurveyID" => "199893", ...)) 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; |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(statistics) 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(); |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(statistics, 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); |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(202): CController->run("statistics") 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 207 * |
#20 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): AdminController->run("statistics") 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))); |
#21 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/statistics/sa/index") 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. |
#22 |
+
–
/mnt/data/shnoulle/nginx/www/master/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 /** |
#23 |
+
–
/mnt/data/shnoulle/nginx/www/master/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 */ |