/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/TemplateConfiguration.php(1065)
1053 * @param string $name the name of the attribute 1054 * @return mixed 1055 */ 1056 public function __get($name) 1057 { 1058 $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load'); 1059 1060 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1061 // Full inheritance of the whole field 1062 $sAttribute = parent::__get($name); 1063 if ($sAttribute === 'inherit') { 1064 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1065 $sAttribute = $this->getParentConfiguration()->$name; 1066 } 1067 } else { 1068 $sAttribute = parent::__get($name); 1069 } 1070 1071 return $sAttribute; 1072 } 1073 1074 /** 1075 * @return string 1076 */ 1077 public function getTemplateAndMotherNames()
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/TemplateConfiguration.php(1065): TemplateConfiguration->__get("options") 1060 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1061 // Full inheritance of the whole field 1062 $sAttribute = parent::__get($name); 1063 if ($sAttribute === 'inherit') { 1064 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1065 $sAttribute = $this->getParentConfiguration()->$name; 1066 } 1067 } else { 1068 $sAttribute = parent::__get($name); 1069 } 1070 |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/TemplateConfiguration.php(882): TemplateConfiguration->__get("options") 877 } 878 879 protected function setOptions() 880 { 881 $this->oOptions = array(); 882 if (!empty($this->options)) { 883 $this->oOptions = json_decode($this->options); 884 } 885 886 $this->setOptionInheritance(); 887 } |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/TemplateConfiguration.php(847): TemplateConfiguration->setOptions() 842 $this->apiVersion = (!empty($this->template->api_version)) ? $this->template->api_version : null; // Mandtory setting in config XML 843 $this->viewPath = $this->path.$this->getTemplateForPath($this, 'view_folder')->template->view_folder.DIRECTORY_SEPARATOR; 844 $this->filesPath = $this->path.$this->getTemplateForPath($this, 'files_folder')->template->files_folder.DIRECTORY_SEPARATOR; 845 $this->generalFilesPath = Yii::app()->getConfig("userthemerootdir").DIRECTORY_SEPARATOR.'generalfiles'.DIRECTORY_SEPARATOR; 846 // Options are optional 847 $this->setOptions(); 848 849 // Not mandatory (use package dependances) 850 $this->setCssFramework(); 851 $this->packages = $this->getDependsPackages($this); 852 if (!empty($this->packages_to_load)) { |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/TemplateConfiguration.php(455): TemplateConfiguration->setThisTemplate() 450 } 451 452 $this->bUseMagicInherit = $bUseMagicInherit; 453 $this->setBasics($sTemplateName, $iSurveyId); 454 $this->setMotherTemplates(); // Recursive mother templates configuration 455 $this->setThisTemplate(); // Set the main config values of this template 456 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 457 self::$aPreparedToRender[$this->template->name][$iSurveyId][$bUseMagicInherit] = $this; 458 return $this; 459 } 460 |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/models/Template.php(496): TemplateConfiguration->prepareTemplateRendering("", "117157") 491 } 492 } 493 494 if (empty(self::$instance)) { 495 self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML); 496 self::$instance->prepareTemplateRendering($sTemplateName, $iSurveyId); 497 } 498 499 500 return self::$instance; 501 } |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/survey/index.php(291): Template::getInstance("", "117157") 286 unset($token); 287 unset($clienttoken); 288 } 289 290 //SET THE TEMPLATE DIRECTORY 291 $oTemplate = Template::model()->getInstance('', $surveyid); 292 $timeadjust = Yii::app()->getConfig("timeadjust"); 293 294 //MAKE SURE SURVEY HASN'T EXPIRED 295 if ($thissurvey['expiry'] != '' and dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", $timeadjust) > $thissurvey['expiry'] && $thissurvey['active'] != 'N' && !$previewmode) { 296 $aErrors = array(gT('Error')); |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(308): CAction->runWithParams(array("newtest" => "Y", "lang" => "fr", "sid" => "117157")) 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; |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(286): CController->runAction(index) 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(); |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(265): CController->runActionWithFilters(index, 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); |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/117157") 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. |
#13 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_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 /** |
#14 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/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 */ |