/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/surveyadmin.php(1734)
1722 Yii::app()->loadHelper("admin/htmleditor"); 1723 $aData = $aTabTitles = $aTabContents = array(); 1724 1725 $aData['scripts'] = PrepareEditorScript(false, $this->getController()); 1726 $aLanguageData = []; 1727 if ($survey->sid) { 1728 foreach ($survey->allLanguages as $i => $sLang) { 1729 $aLanguageData = $this->_getGeneralTemplateData($survey->sid); 1730 // this one is created to get the right default texts fo each language 1731 Yii::app()->loadHelper('database'); 1732 Yii::app()->loadHelper('surveytranslator'); 1733 1734 $aSurveyLanguageSettings = SurveyLanguageSetting::model()->findByPk(array('surveyls_survey_id' => $survey->sid, 'surveyls_language' => $sLang))->getAttributes(); 1735 1736 $aTabTitles[$sLang] = getLanguageNameFromCode($aSurveyLanguageSettings['surveyls_language'], false); 1737 1738 if ($aSurveyLanguageSettings['surveyls_language'] == $survey->language) { 1739 $aTabTitles[$sLang] .= ' ('.gT("Base language").')'; 1740 } 1741 1742 $aLanguageData['aSurveyLanguageSettings'] = $aSurveyLanguageSettings; 1743 $aLanguageData['action'] = "surveygeneralsettings"; 1744 $aLanguageData['i'] = $i; 1745 $aLanguageData['dateformatdetails'] = getDateFormatData(Yii::app()->session['dateformat']); 1746 $aLanguageData['oSurvey'] = $survey;
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/surveyadmin.php(1049): SurveyAdmin->_getTextEditData(Survey) 1044 } 1045 1046 $templateData = is_array($menuEntry->data) ? $menuEntry->data : []; 1047 1048 if (!empty($menuEntry->getdatamethod)) { 1049 $templateData = array_merge($templateData, call_user_func_array(array($this, $menuEntry->getdatamethod), array('survey'=>$survey))); 1050 } 1051 1052 $templateData = array_merge($this->_getGeneralTemplateData($iSurveyID), $templateData); 1053 $this->_registerScriptFiles(); 1054 |
#1 |
unknown(0): SurveyAdmin->rendersidemenulink(777682, "surveytexts")
|
#2 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array("777682", "surveytexts")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("r" => "admin/survey/sa/rendersidemenulink", "subaction" => "surveytexts", "surveyid" => "777682", 1613377160221 => "", ...)) 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 |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/survey/sa/rendersidemenulink", "subaction" => "surveytexts", "surveyid" => "777682", 1613377160221 => "", ...)) 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; |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): CController->runAction(SurveyAdmin) 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(); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): CController->runActionWithFilters(SurveyAdmin, 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); |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/AdminController.php(165): CController->run("survey") 160 $this->redirect(array('/admin/authentication/sa/login')); 161 } 162 } 163 } 164 165 return parent::run($action); 166 } 167 168 /** 169 * Routes all the actions to their respective places 170 * |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): AdminController->run("survey") 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))); |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/rendersidemenulink") 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. |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 /** |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |