/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1245)
1233 * @param string $name the name of the attribute 1234 * @return mixed 1235 */ 1236 public function __get($name) 1237 { 1238 $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load'); 1239 1240 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1241 // Full inheritance of the whole field 1242 $sAttribute = parent::__get($name); 1243 if ($sAttribute === 'inherit') { 1244 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1245 $sAttribute = $this->getParentConfiguration()->$name; 1246 } 1247 } else { 1248 $sAttribute = parent::__get($name); 1249 } 1250 1251 return $sAttribute; 1252 } 1253 1254 /** 1255 * @return string 1256 */ 1257 public function getTemplateAndMotherNames()
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1245): TemplateConfiguration->__get("options") 1240 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1241 // Full inheritance of the whole field 1242 $sAttribute = parent::__get($name); 1243 if ($sAttribute === 'inherit') { 1244 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1245 $sAttribute = $this->getParentConfiguration()->$name; 1246 } 1247 } else { 1248 $sAttribute = parent::__get($name); 1249 } 1250 |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1062): TemplateConfiguration->__get("options") 1057 } 1058 1059 protected function setOptions() 1060 { 1061 $this->oOptions = array(); 1062 if (!empty($this->options)) { 1063 $this->oOptions = json_decode($this->options); 1064 } 1065 1066 $this->setOptionInheritance(); 1067 } |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1027): TemplateConfiguration->setOptions() 1022 $this->apiVersion = (!empty($this->template->api_version)) ? $this->template->api_version : null; // Mandtory setting in config XML 1023 $this->viewPath = $this->path.$this->getTemplateForPath($this, 'view_folder')->template->view_folder.DIRECTORY_SEPARATOR; 1024 $this->filesPath = $this->path.$this->getTemplateForPath($this, 'files_folder')->template->files_folder.DIRECTORY_SEPARATOR; 1025 $this->generalFilesPath = Yii::app()->getConfig("userthemerootdir").DIRECTORY_SEPARATOR.'generalfiles'.DIRECTORY_SEPARATOR; 1026 // Options are optional 1027 $this->setOptions(); 1028 1029 // Not mandatory (use package dependances) 1030 $this->setCssFramework(); 1031 $this->packages = $this->getDependsPackages($this); 1032 if (!empty($this->packages_to_load)) { |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfig.php(154): TemplateConfiguration->setThisTemplate() 149 } 150 151 152 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 153 $this->setMotherTemplates(); // Recursive mother templates configuration 154 $this->setThisTemplate(); // Set the main config values of this template 155 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 156 $this->removeFiles(); 157 $this->getshowpopups(); 158 159 if (!empty ($sTemplateName) && !empty ($iSurveyId) ){ |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/Template.php(505): TemplateConfig->prepareTemplateRendering("fruity", null) 500 return self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML, true); 501 } 502 503 if (empty(self::$instance)) { 504 self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML); 505 self::$instance->prepareTemplateRendering($sTemplateName, $iSurveyId); 506 } 507 508 509 return self::$instance; 510 } |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/replacements_helper.php(120): Template::getInstance("fruity") 115 * oTemplate is defined in controller/survey/index 116 * 117 * If templatereplace is called from the template editor, a $oTemplate is provided. 118 */ 119 if ($oTemplate === '') { 120 $oTemplate = Template::model()->getInstance($templatename); 121 } 122 123 // surveyformat 124 if (isset($thissurvey['format'])) { 125 $surveyformat = str_replace(array("A", "S", "G"), array("allinone", "questionbyquestion", "groupbygroup"), $thissurvey['format']); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/expressions/em_manager_helper.php(3662): templatereplace("{SID}") 3657 'jsName_on'=>'', 3658 'jsName'=>'', 3659 'readWrite'=>'N', 3660 ); 3661 /* Add the core replacement before question code : needed if use it in equation , use SID to never send error */ 3662 templatereplace("{SID}"); 3663 3664 // Since building array of allowable answers, need to know preset values for certain question types 3665 $presets = array(); 3666 $presets['G'] = array( //GENDER drop-down list 3667 'M' => $this->gT("Male"), |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/expressions/em_manager_helper.php(5000): LimeExpressionManager->setVariableAndTokenMappingsForExpressionManager("599119", true, "N") 4995 $LEM->allOnOnePage=false; 4996 $LEM->surveyMode = 'group'; 4997 break; 4998 } 4999 5000 $LEM->setVariableAndTokenMappingsForExpressionManager($surveyid,$forceRefresh,$LEM->surveyOptions['anonymized']); 5001 $LEM->currentGroupSeq=-1; 5002 $LEM->currentQuestionSeq=-1; // for question-by-question mode 5003 $LEM->indexGseq=array(); 5004 $LEM->indexQseq=array(); 5005 $LEM->qrootVarName2arrayFilter=array(); |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/surveyadmin.php(1378): LimeExpressionManager::StartSurvey("599119",
"survey", array("htmlemail" => "N", "format" => "S", "template"
=> "fruity", "language" => "it", ...), true) 1373 LimeExpressionManager::singleton(); 1374 // Why this @ ! 1375 LimeExpressionManager::SetSurveyId($aImportResults['newsid']); 1376 LimeExpressionManager::RevertUpgradeConditionsToRelevance($aImportResults['newsid']); 1377 LimeExpressionManager::UpgradeConditionsToRelevance($aImportResults['newsid']); 1378 LimeExpressionManager::StartSurvey($oSurvey->sid, 'survey', $oSurvey->attributes, true); 1379 LimeExpressionManager::StartProcessingPage(true, true); 1380 $aGrouplist = QuestionGroup::model()->findAllByAttributes(['sid'=>$aImportResults['newsid']]); 1381 foreach ($aGrouplist as $aGroup) { 1382 LimeExpressionManager::StartProcessingGroup($aGroup['gid'], $oSurvey->anonymized != 'Y', $aImportResults['newsid']); 1383 LimeExpressionManager::FinishProcessingGroup(); |
#9 |
unknown(0): SurveyAdmin->copy()
|
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array()) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("r" => "admin/survey/sa/copy", "sa" => "copy")) 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 |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/survey/sa/copy", "sa" => "copy")) 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; |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/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(); |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/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); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(158): CController->run("survey") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/master/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))); |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/copy") 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. |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/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 /** |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/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 */ |