/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1514)
1502 'cssframework_name', 1503 'cssframework_css', 1504 'cssframework_js', 1505 'packages_to_load' 1506 ); 1507 1508 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1509 // Full inheritance of the whole field 1510 $sAttribute = parent::__get($name); 1511 if ($sAttribute === 'inherit') { 1512 // NOTE: this is object recursive (if parent configuration field is set to inherit, 1513 // then it will lead to this method again.) 1514 $sAttribute = $this->getParentConfiguration()->$name; 1515 } 1516 } else { 1517 $sAttribute = parent::__get($name); 1518 } 1519 1520 return $sAttribute; 1521 } 1522 1523 /** 1524 * @todo document me 1525 * @return string 1526 */
#0 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1514): TemplateConfiguration->__get("options") 1509 // Full inheritance of the whole field 1510 $sAttribute = parent::__get($name); 1511 if ($sAttribute === 'inherit') { 1512 // NOTE: this is object recursive (if parent configuration field is set to inherit, 1513 // then it will lead to this method again.) 1514 $sAttribute = $this->getParentConfiguration()->$name; 1515 } 1516 } else { 1517 $sAttribute = parent::__get($name); 1518 } 1519 |
#1 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1295): TemplateConfiguration->__get("options") 1290 * @return void 1291 */ 1292 protected function setOptions() 1293 { 1294 $this->oOptions = new stdClass(); 1295 if (!empty($this->options)) { 1296 $this->oOptions = json_decode($this->options); 1297 } 1298 // unset "comment" property which is auto generated from HTML comments in xml file 1299 unset($this->oOptions->comment); 1300 |
#2 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1250): TemplateConfiguration->setOptions() 1245 $this->filesPath = $this->path . $this->getTemplateConfigurationForAttribute($this, 'files_folder') 1246 ->template->files_folder . DIRECTORY_SEPARATOR; 1247 $this->generalFilesPath = App()->getConfig("userthemerootdir") 1248 . DIRECTORY_SEPARATOR . 'generalfiles' . DIRECTORY_SEPARATOR; 1249 // Options are optional 1250 $this->setOptions(); 1251 1252 // Not mandatory (use package dependances) 1253 $this->setCssFramework(); 1254 $this->packages = $this->getDependsPackages($this); 1255 if (!empty($this->packages_to_load)) { |
#3 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1701): TemplateConfiguration->setThisTemplate() 1696 } 1697 } 1698 1699 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 1700 $this->setMotherTemplates(); // Recursive mother templates configuration 1701 $this->setThisTemplate(); // Set the main config values of this template 1702 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 1703 $this->removeFiles(); 1704 $this->getshowpopups(); 1705 1706 if (!empty($sTemplateName) && !empty($iSurveyId)) { |
#4 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/models/Template.php(509): TemplateConfiguration->prepareTemplateRendering("", 564825) 504 return self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML, true); 505 } 506 507 if (empty(self::$instance) || ! self::isCorrectInstance($sTemplateName)) { 508 self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML); 509 self::$instance->prepareTemplateRendering($sTemplateName, $iSurveyId); 510 } 511 512 return self::getLastInstance(false); 513 } 514 |
#5 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/controllers/survey/index.php(336): Template::getInstance("", 564825) 331 if (!is_null($beforeSurveyPageEvent->get('template'))) { 332 $thissurvey['templatedir'] = $beforeSurveyPageEvent->get('template'); 333 } 334 335 //SET THE TEMPLATE DIRECTORY 336 $oTemplate = Template::model()->getInstance('', $surveyid); 337 $timeadjust = Yii::app()->getConfig("timeadjust"); 338 339 //MAKE SURE SURVEY HASN'T EXPIRED 340 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) { 341 $aErrors = array(gT('Error')); |
#6 |
+
–
/home/shnoulle/Public/webdev/5XLTS/application/controllers/survey/index.php(22): Index->action() 17 public $oTemplate; 18 19 public function run() 20 { 21 useFirebug(); 22 $this->action(); 23 } 24 25 /** 26 * 27 * todo: this function is toooo long, to many things happening here. Should be refactored asap! |
#7 |
+
–
/home/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/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/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/framework/web/CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "564825", "newtest" => "Y", "lang" => "en")) 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/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/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/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/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/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/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/shnoulle/Public/webdev/5XLTS/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/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. |
#13 |
+
–
/home/shnoulle/Public/webdev/5XLTS/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 /** |
#14 |
+
–
/home/shnoulle/Public/webdev/5XLTS/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 */ |