/mnt/data/shnoulle/nginx/www/develop/application/models/TemplateConfiguration.php(1280)
1268 * @param string $name the name of the attribute 1269 * @return mixed 1270 */ 1271 public function __get($name) 1272 { 1273 $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load'); 1274 1275 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1276 // Full inheritance of the whole field 1277 $sAttribute = parent::__get($name); 1278 if ($sAttribute === 'inherit') { 1279 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1280 $sAttribute = $this->getParentConfiguration()->$name; 1281 } 1282 } else { 1283 $sAttribute = parent::__get($name); 1284 } 1285 1286 return $sAttribute; 1287 } 1288 1289 /** 1290 * @return string 1291 */ 1292 public function getTemplateAndMotherNames()
#0 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/models/TemplateConfiguration.php(1280): TemplateConfiguration->__get("options") 1275 if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { 1276 // Full inheritance of the whole field 1277 $sAttribute = parent::__get($name); 1278 if ($sAttribute === 'inherit') { 1279 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) 1280 $sAttribute = $this->getParentConfiguration()->$name; 1281 } 1282 } else { 1283 $sAttribute = parent::__get($name); 1284 } 1285 |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/models/TemplateConfiguration.php(1094): TemplateConfiguration->__get("options") 1089 } 1090 1091 protected function setOptions() 1092 { 1093 $this->oOptions = array(); 1094 if (!empty($this->options)) { 1095 $this->oOptions = json_decode($this->options); 1096 } 1097 unset($this->oOptions->comment); // unset "comment" property which is auto generated from HTML comments in xml file 1098 1099 $this->setOptionInheritance(); |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/models/TemplateConfiguration.php(1059): TemplateConfiguration->setOptions() 1054 $this->apiVersion = (!empty($this->template->api_version)) ? $this->template->api_version : null; // Mandtory setting in config XML 1055 $this->viewPath = $this->path.$this->getTemplateForPath($this, 'view_folder')->template->view_folder.DIRECTORY_SEPARATOR; 1056 $this->filesPath = $this->path.$this->getTemplateForPath($this, 'files_folder')->template->files_folder.DIRECTORY_SEPARATOR; 1057 $this->generalFilesPath = Yii::app()->getConfig("userthemerootdir").DIRECTORY_SEPARATOR.'generalfiles'.DIRECTORY_SEPARATOR; 1058 // Options are optional 1059 $this->setOptions(); 1060 1061 // Not mandatory (use package dependances) 1062 $this->setCssFramework(); 1063 $this->packages = $this->getDependsPackages($this); 1064 if (!empty($this->packages_to_load)) { |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/models/TemplateConfig.php(157): TemplateConfiguration->setThisTemplate() 152 } 153 154 155 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 156 $this->setMotherTemplates(); // Recursive mother templates configuration 157 $this->setThisTemplate(); // Set the main config values of this template 158 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 159 $this->removeFiles(); 160 $this->getshowpopups(); 161 162 if (!empty ($sTemplateName) && !empty ($iSurveyId) ){ |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/develop/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/develop/application/helpers/replacements_helper.php(117): Template::getInstance("fruity") 112 * oTemplate is defined in controller/survey/index 113 * 114 * If templatereplace is called from the template editor, a $oTemplate is provided. 115 */ 116 if ($oTemplate === '') { 117 $oTemplate = Template::model()->getInstance($templatename); 118 } 119 120 // surveyformat 121 if (isset($thissurvey['format'])) { 122 $surveyformat = str_replace(array("A", "S", "G"), array("allinone", "questionbyquestion", "groupbygroup"), $thissurvey['format']); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/helpers/expressions/em_manager_helper.php(3692): templatereplace("{SID}") 3687 'jsName'=>'', 3688 'readWrite'=>'N', 3689 ); 3690 } 3691 /* Add the core replacement before question code : needed if use it in equation , use SID to never send error */ 3692 templatereplace("{SID}"); 3693 3694 // Since building array of allowable answers, need to know preset values for certain question types 3695 $presets = array(); 3696 $presets['G'] = array( //GENDER drop-down list 3697 'M' => $this->gT("Male"), |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/helpers/expressions/em_manager_helper.php(4933): LimeExpressionManager->setVariableAndTokenMappingsForExpressionManager("497896") 4928 $LEM->em->StartProcessingGroup( 4929 isset($_SESSION['LEMsid']) ? $_SESSION['LEMsid'] : NULL, 4930 '', 4931 true 4932 ); 4933 $LEM->setVariableAndTokenMappingsForExpressionManager($_SESSION['LEMsid']); 4934 } 4935 4936 } 4937 4938 /** |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(335): LimeExpressionManager::StartProcessingPage(false, true) 330 $aData['oSurvey'] = Survey::model()->findByPk($aData['surveyid']); 331 332 // Needed to evaluate EM expressions in question summary 333 // See bug #11845 334 LimeExpressionManager::SetSurveyId($aData['surveyid']); 335 LimeExpressionManager::StartProcessingPage(false,true); 336 337 $renderFile = $basePath.'/layout_insurvey.php'; 338 } else { 339 $renderFile = $basePath.'/layout_main.php'; 340 } |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/questionedit.php(716): Survey_Common_Action->_renderWrappedTemplate("survey/Question2",
"view", array("display" => array("menu_bars" =>
array("gid_action" => "viewquestion", "qid_action" =>
"editquestion")), "questionbar" => array("buttons" => array("view"
=> true)), "surveyid" => "497896", "oSurvey" => Survey, ...),
false) 711 * @param string|array $aViewUrls View url(s) 712 * @param array $aData Data to be passed on. Optional. 713 */ 714 protected function _renderWrappedTemplate($sAction = 'survey/Question2', $aViewUrls = array(), $aData = array(), $sRenderFile = false) 715 { 716 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 717 } 718 } |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/questionedit.php(163): questionedit->_renderWrappedTemplate("survey/Question2",
"view", array("display" => array("menu_bars" =>
array("gid_action" => "viewquestion", "qid_action" =>
"editquestion")), "questionbar" => array("buttons" => array("view"
=> true)), "surveyid" => 497896, "oSurvey" => Survey, ...))
158 $aData['questiongroupbar']['importquestion'] = true; 159 $aData['questiongroupbar']['savebutton']['form'] = 'frmeditgroup'; 160 $aData['questiongroupbar']['saveandclosebutton']['form'] = 'frmeditgroup'; 161 $aData['questiongroupbar']['closebutton']['url'] = '/admin/survey/sa/listquestions/surveyid/'.$iSurveyID; // Close button 162 163 $this->_renderWrappedTemplate('survey/Question2', 'view', $aData); 164 } 165 166 167 /**** 168 **** A lot of getter function regarding functionalities and views. |
#11 |
unknown(0): questionedit->view("497896", "35", "1437")
|
#12 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(questionedit, array("497896", "35", "1437")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(questionedit,
ReflectionMethod, array("r" => "admin/questioneditor/sa/view",
"surveyid" => "497896", "gid" => "35", "qid" => "1437", ...))
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 |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/questioneditor/sa/view", "surveyid" => "497896", "gid" => "35", "qid" => "1437", ...)) 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; |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(286): CController->runAction(questionedit) 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(); |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(265): CController->runActionWithFilters(questionedit, 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); |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(158): CController->run("questioneditor") 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 * |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(282): AdminController->run("questioneditor") 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))); |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/questioneditor/sa/view") 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. |
#20 |
+
–
/mnt/data/shnoulle/nginx/www/develop/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 /** |
#21 |
+
–
/mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run() 190 require_once APPPATH . 'core/LSYii_Application' . EXT; 191 192 $config = require_once(APPPATH . 'config/internal' . EXT); 193 194 Yii::$enableIncludePath = false; 195 Yii::createApplication('LSYii_Application', $config)->run(); 196 197 /* End of file index.php */ 198 /* Location: ./index.php */ |