/var/www/limesurvey/application/models/TemplateConfiguration.php(1433)
1421 'cssframework_name', 1422 'cssframework_css', 1423 'cssframework_js', 1424 'packages_to_load' 1425 ); 1426 1427 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1428 // Full inheritance of the whole field 1429 $sAttribute = parent::__get($name); 1430 if ($sAttribute === 'inherit') { 1431 // NOTE: this is object recursive (if parent configuration field is set to inherit, 1432 // then it will lead to this method again.) 1433 $sAttribute = $this->getParentConfiguration()->$name; 1434 } 1435 } else { 1436 $sAttribute = parent::__get($name); 1437 } 1438 1439 return $sAttribute; 1440 } 1441 1442 /** 1443 * @todo document me 1444 * @return string 1445 */
#0 |
+
–
/var/www/limesurvey/application/models/TemplateConfiguration.php(1433): TemplateConfiguration->__get("options") 1428 // Full inheritance of the whole field 1429 $sAttribute = parent::__get($name); 1430 if ($sAttribute === 'inherit') { 1431 // NOTE: this is object recursive (if parent configuration field is set to inherit, 1432 // then it will lead to this method again.) 1433 $sAttribute = $this->getParentConfiguration()->$name; 1434 } 1435 } else { 1436 $sAttribute = parent::__get($name); 1437 } 1438 |
#1 |
+
–
/var/www/limesurvey/application/models/TemplateConfiguration.php(1212): TemplateConfiguration->__get("options") 1207 * @todo document me 1208 */ 1209 protected function setOptions() 1210 { 1211 $this->oOptions = array(); 1212 if (!empty($this->options)) { 1213 $this->oOptions = json_decode($this->options); 1214 } 1215 // unset "comment" property which is auto generated from HTML comments in xml file 1216 unset($this->oOptions->comment); 1217 |
#2 |
+
–
/var/www/limesurvey/application/models/TemplateConfiguration.php(1171): TemplateConfiguration->setOptions() 1166 $this->filesPath = $this->path.$this->getTemplateForPath($this, 'files_folder') 1167 ->template->files_folder.DIRECTORY_SEPARATOR; 1168 $this->generalFilesPath = App()->getConfig("userthemerootdir") 1169 .DIRECTORY_SEPARATOR.'generalfiles'.DIRECTORY_SEPARATOR; 1170 // Options are optional 1171 $this->setOptions(); 1172 1173 // Not mandatory (use package dependances) 1174 $this->setCssFramework(); 1175 $this->packages = $this->getDependsPackages($this); 1176 if (!empty($this->packages_to_load)) { |
#3 |
+
–
/var/www/limesurvey/application/models/TemplateConfig.php(159): TemplateConfiguration->setThisTemplate() 154 } 155 } 156 157 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 158 $this->setMotherTemplates(); // Recursive mother templates configuration 159 $this->setThisTemplate(); // Set the main config values of this template 160 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 161 $this->removeFiles(); 162 $this->getshowpopups(); 163 164 if (!empty($sTemplateName) && !empty($iSurveyId)) { |
#4 |
+
–
/var/www/limesurvey/application/models/Template.php(505): TemplateConfig->prepareTemplateRendering("", "218218") 500 return self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML, true); 501 } 502 503 if ( empty(self::$instance) || ! self::isCorrectInstance($sTemplateName) ) { 504 self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML); 505 self::$instance->prepareTemplateRendering($sTemplateName, $iSurveyId); 506 } 507 508 return self::getLastInstance(false); 509 } 510 |
#5 |
+
–
/var/www/limesurvey/application/controllers/survey/index.php(314): Template::getInstance("", "218218") 309 if (!is_null($beforeSurveyPageEvent->get('template'))) { 310 $thissurvey['templatedir'] = $beforeSurveyPageEvent->get('template'); 311 } 312 313 //SET THE TEMPLATE DIRECTORY 314 $oTemplate = Template::model()->getInstance('', $surveyid); 315 $timeadjust = Yii::app()->getConfig("timeadjust"); 316 317 //MAKE SURE SURVEY HASN'T EXPIRED 318 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) { 319 $aErrors = array(gT('Error')); |
#6 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/framework/web/CController.php(308): CAction->runWithParams(array("lang" => "pt", "sid" => "218218")) 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 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/218218") 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 |
+
–
/var/www/limesurvey/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 |
+
–
/var/www/limesurvey/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 */ |