/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/models/Question.php(232)
220 else 221 { 222 $aLanguages = array($sLanguage); 223 } 224 225 if ($iQuestionID) 226 { 227 $oAttributeValues = QuestionAttribute::model()->findAll("qid=:qid",array('qid'=>$iQuestionID)); 228 $aAttributeValues=array(); 229 foreach($oAttributeValues as $oAttributeValue) 230 { 231 if($oAttributeValue->language){ 232 $aAttributeValues[$oAttributeValue->attribute][$oAttributeValue->language]=$oAttributeValue->value; 233 }else{ 234 $aAttributeValues[$oAttributeValue->attribute]=$oAttributeValue->value; 235 } 236 } 237 } 238 $aAttributeNames = \ls\helpers\questionHelper::getQuestionAttributesSettings($sQuestionType); 239 uasort($aAttributeNames, 'categorySort'); 240 foreach ($aAttributeNames as $iKey => $aAttribute) 241 { 242 if ($aAttribute['i18n'] == false) 243 { 244 if (isset($aAttributeValues[$aAttribute['name']]))
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/controllers/admin/questions.php(82): Question->getAdvancedSettingsWithValues("174", "1", "44899", "fr") 77 $aData['surveyid'] = $iSurveyID; 78 $aData['qid'] = $qid; 79 $aData['gid'] = $gid; 80 $aData['qrrow'] = $qrrow; 81 $aData['baselang'] = $baselang; 82 $aAttributesWithValues = Question::model()->getAdvancedSettingsWithValues($qid, $qrrow['type'], $iSurveyID, $baselang); 83 $DisplayArray = array(); 84 85 foreach ($aAttributesWithValues as $aAttribute) 86 { 87 if (($aAttribute['i18n'] == false && isset($aAttribute['value']) && $aAttribute['value'] != $aAttribute['default']) || ($aAttribute['i18n'] == true && isset($aAttribute['value'][$baselang]) && $aAttribute['value'][$baselang] != $aAttribute['default'])) |
#1 |
unknown(0): questions->view("44899", "41", "174")
|
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(questions, array("44899", "41", "174")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(questions, ReflectionMethod, array("surveyid" => "44899", "gid" => "41", "qid" => "174", "sa" => "view", ...)) 096 $oMethod = new ReflectionMethod($this, $sDefault); 097 } 098 099 // We're all good to go, let's execute it 100 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 101 return parent::runWithParamsInternal($this, $oMethod, $params); 102 } 103 104 /** 105 * Some functions have different parameters, which are just an alias of the 106 * usual parameters we're getting in the url. This function just populates |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "44899", "gid" => "41", "qid" => "174", "sa" => "view")) 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; |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(286): CController->runAction(questions) 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(); |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(265): CController->runActionWithFilters(questions, 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); |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/controllers/AdminController.php(168): CController->run("questions") 163 $this->redirect(array('/admin/authentication/sa/login')); 164 } 165 166 } 167 168 return parent::run($action); 169 } 170 171 /** 172 * Routes all the actions to their respective places 173 * |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CWebApplication.php(282): AdminController->run("questions") 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))); |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/questions/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. |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/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 /** |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |