/media/shnoulle/data/webdev/ls5/application/models/Template.php(370)
358 } 359 360 /** 361 * This function returns the complete URL path to a given template name 362 * 363 * @param string $sTemplateName 364 * @return string template url 365 */ 366 public static function getTemplateURL($sTemplateName = "") 367 { 368 // Make sure template name is valid 369 if (!self::checkIfTemplateExists($sTemplateName)) { 370 throw new \CException("Invalid {$sTemplateName} template directory"); 371 } 372 373 static $aTemplateUrl = array(); 374 if (isset($aTemplateUrl[$sTemplateName])) { 375 return $aTemplateUrl[$sTemplateName]; 376 } 377 378 $oTemplate = self::model()->findByPk($sTemplateName); 379 380 if (is_object($oTemplate)) { 381 Yii::import('application.helpers.SurveyThemeHelper'); 382 if (SurveyThemeHelper::isStandardTemplate($sTemplateName)) {
#0 |
+
–
/media/shnoulle/data/webdev/ls5/application/helpers/common_helper.php(3099): Template::getTemplateURL() 3094 * @param mixed $sTemplateName 3095 * @return string 3096 */ 3097 function getTemplateURL($sTemplateName) 3098 { 3099 return Template::getTemplateURL($sTemplateName); 3100 } 3101 3102 /** 3103 * Return an array of subquestions for a given sid/qid 3104 * |
#1 |
+
–
/media/shnoulle/data/webdev/ls5/application/helpers/replacements_helper.php(112): getTemplateURL() 107 $templatename = $thissurvey['templatedir']; 108 } else { 109 $templatename = App()->getConfig('defaulttheme'); 110 } 111 if (!isset($templateurl)) { 112 $templateurl = getTemplateURL($templatename) . "/"; 113 } 114 115 /** 116 * Template css/js files from the template config files are loaded. 117 * It use the asset manager (so user never need to empty the cache, even if template is updated) |
#2 |
+
–
/media/shnoulle/data/webdev/ls5/application/helpers/expressions/em_manager_helper.php(3341): templatereplace() 3336 'jsName' => '', 3337 'readWrite' => 'N', 3338 ]; 3339 } 3340 /* Add the core replacement before question code : needed if use it in equation , use SID to never send error */ 3341 templatereplace("{SID}"); 3342 3343 // Since building array of allowable answers, need to know preset values for certain question types 3344 $presets = []; 3345 $presets['G'] = [ //GENDER drop-down list 3346 'M' => $this->gT("Male"), |
#3 |
+
–
/media/shnoulle/data/webdev/ls5/application/helpers/expressions/em_manager_helper.php(4537): LimeExpressionManager->setVariableAndTokenMappingsForExpressionManager() 4532 $LEM->em->StartProcessingGroup( 4533 isset($_SESSION['LEMsid']) ? $_SESSION['LEMsid'] : null, 4534 '', 4535 true 4536 ); 4537 $LEM->setVariableAndTokenMappingsForExpressionManager($_SESSION['LEMsid']); 4538 } 4539 } 4540 4541 /** 4542 * Initialize a survey so can use EM to manage navigation |
#4 |
+
–
/media/shnoulle/data/webdev/ls5/application/controllers/SurveyAdministrationController.php(94): LimeExpressionManager::StartProcessingPage() 89 $this->aData['oSurvey'] = $this->aData['oSurvey'] ?? Survey::model()->findByPk($this->aData['surveyid']); 90 91 // Needed to evaluate EM expressions in question summary 92 // See bug #11845 93 LimeExpressionManager::SetSurveyId($this->aData['surveyid']); 94 LimeExpressionManager::StartProcessingPage(false, true); 95 96 $this->layout = 'layout_questioneditor'; 97 } else { 98 $this->layout = 'main'; 99 } |
#5 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CController.php(783): SurveyAdministrationController->beforeRender() 778 * @see renderPartial 779 * @see getLayoutFile 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 |
#6 |
+
–
/media/shnoulle/data/webdev/ls5/application/controllers/SurveyAdministrationController.php(1991): CController->render() 1986 'Y' => gT('On', 'unescaped'), 1987 'N' => gT('Off', 'unescaped'), 1988 ); 1989 1990 $this->aData = $aData; 1991 $this->render($menuEntry->template, $aData); 1992 } 1993 1994 /** 1995 * Load ordering of question group screen. 1996 * questiongroup::organize() |
#7 |
unknown(0): SurveyAdministrationController->actionRendersidemenulink()
|
#8 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#9 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal() 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#10 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams() 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; |
#11 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): CController->runAction() 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#12 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#13 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() 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); |
#14 |
+
–
/media/shnoulle/data/webdev/ls5/application/controllers/LSBaseController.php(145): CController->run() 140 $this->redirect(array('/admin/authentication/sa/login')); 141 } 142 } 143 } 144 145 parent::run($action); 146 } 147 148 /** 149 * Load and set session vars 150 * |
#15 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): LSBaseController->run() 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))); |
#16 |
+
–
/media/shnoulle/data/webdev/ls5/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
#17 |
+
–
/media/shnoulle/data/webdev/ls5/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 /** |
#18 |
+
–
/media/shnoulle/data/webdev/ls5/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 */ |