/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/models/Survey.php(194)
182 } 183 184 185 /** 186 * The Survey languagesettings in currently active language. Falls back to the surveys' default language if the current language is not available. 187 * @return SurveyLanguageSetting 188 */ 189 public function getCurrentLanguageSettings() 190 { 191 if (isset($this->languagesettings[App()->language])) { 192 return $this->languagesettings[App()->language]; 193 } else { 194 return $this->languagesettings[$this->language]; 195 } 196 } 197 198 /** 199 * Expires a survey. If the object was invoked using find or new surveyId can be ommited. 200 * @param int $surveyId 201 * @return bool 202 */ 203 public function expire($surveyId = null) 204 { 205 $dateTime = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", Yii::app()->getConfig('timeadjust')); 206 $dateTime = dateShift($dateTime, "Y-m-d H:i:s", '-1 minute');
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/framework/base/CComponent.php(111): Survey->getCurrentLanguageSettings() 106 */ 107 public function __get($name) 108 { 109 $getter='get'.$name; 110 if(method_exists($this,$getter)) 111 return $this->$getter(); 112 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 113 { 114 // duplicating getEventHandlers() here for performance 115 $name=strtolower($name); 116 if(!isset($this->_e[$name])) |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/framework/db/ar/CActiveRecord.php(145): CComponent->__get("currentLanguageSettings") 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/controllers/admin/questions.php(109): CActiveRecord->__get("currentLanguageSettings") 104 $aData['sidemenu']['state'] = true; 105 $aData['sidemenu']['explorer']['state'] = true; 106 $aData['sidemenu']['explorer']['gid'] = (isset($gid))?$gid:false; 107 $aData['sidemenu']['explorer']['qid'] = (isset($qid))?$qid:false; 108 109 $aData['title_bar']['title'] = $survey->currentLanguageSettings->surveyls_title." (".gT("ID").":".$iSurveyID.")"; 110 111 // Last question visited : By user (only one by user) 112 $setting_entry = 'last_question_'.Yii::app()->user->getId(); 113 setGlobalSetting($setting_entry, $qid); 114 |
#3 |
unknown(0): questions->view("854471", "3", "3")
|
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(questions, array("854471", "3", "3")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/core/Survey_Common_Action.php(87): CAction->runWithParamsInternal(questions, ReflectionMethod, array("surveyid" => "854471", "gid" => "3", "qid" => "3", "sa" => "view", ...)) 82 $oMethod = new ReflectionMethod($this, $sDefault); 83 } 84 85 // We're all good to go, let's execute it 86 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 87 return parent::runWithParamsInternal($this, $oMethod, $params); 88 } 89 90 /** 91 * Some functions have different parameters, which are just an alias of the 92 * usual parameters we're getting in the url. This function just populates |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "854471", "gid" => "3", "qid" => "3", "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; |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/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(); |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/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); |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/controllers/AdminController.php(179): CController->run("questions") 174 $this->redirect(array('/admin/authentication/sa/login')); 175 } 176 } 177 } 178 179 return parent::run($action); 180 } 181 182 /** 183 * Routes all the actions to their respective places 184 * |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/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))); |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/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. |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/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 /** |
#13 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/testing/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 */ |