/mnt/data/shnoulle/nginx/www/develop/application/models/Question.php(1051)
1039 case Question::QT_D_DATE: return new DataSetDate($this->qid); 1040 case Question::QT_1_ARRAY_MULTISCALE: return new DataSetArrayMultiscale($this->qid); 1041 case Question::QT_L_LIST_DROPDOWN: return new DataSetListRadio($this->qid); 1042 case Question::QT_EXCLAMATION_LIST_DROPDOWN: return new DataSetListDropdown($this->qid); 1043 case Question::QT_O_LIST_WITH_COMMENT: return new DataSetListWithComment($this->qid); 1044 case Question::QT_R_RANKING_STYLE: return new RenderRanking($aFieldArray); 1045 case Question::QT_M_MULTIPLE_CHOICE: return new DataSetMultipleChoice($this->qid); 1046 case Question::QT_P_MULTIPLE_CHOICE_WITH_COMMENTS: return new DataSetMultipleChoiceWithComments($this->qid); 1047 case Question::QT_I_LANGUAGE: return new DataSetLanguage($this->qid); 1048 case Question::QT_Q_MULTIPLE_SHORT_TEXT: return new DataSetMultipleShortText($this->qid); 1049 case Question::QT_T_LONG_FREE_TEXT: return new DataSetLongFreeText($this->qid); 1050 case Question::QT_U_HUGE_FREE_TEXT: return new DataSetHugeFreeText($this->qid); 1051 case Question::QT_K_MULTIPLE_NUMERICAL_QUESTION: return new RenderMultipleNumerical($aFieldArray); 1052 case Question::QT_A_ARRAY_5_CHOICE_QUESTIONS: return new DataSetArray5ChoiceQuestion($this->qid); 1053 case Question::QT_B_ARRAY_10_CHOICE_QUESTIONS: return new DataSetArray10ChoiceQuestion($this->qid); 1054 case Question::QT_C_ARRAY_YES_UNCERTAIN_NO: return new DataSetArrayYesUncertainNo($this->qid); 1055 case Question::QT_E_ARRAY_OF_INC_SAME_DEC_QUESTIONS:return new DataSetArrayOfIncSameDecQuestions($this->qid); 1056 case Question::QT_F_ARRAY_FLEXIBLE_ROW: return new DataSetArrayFlexibleRow($this->qid); 1057 case Question::QT_G_GENDER_DROPDOWN: return new DataSetGenderDropdown($this->qid); 1058 case Question::QT_H_ARRAY_FLEXIBLE_COLUMN: return new DataSetArrayFlexibleColumn($this->qid); 1059 case Question::QT_N_NUMERICAL: return new DataSetNumerical($this->qid); 1060 case Question::QT_S_SHORT_FREE_TEXT: return new DataSetShortFreeText($this->qid); 1061 case Question::QT_Y_YES_NO_RADIO: return new DataSetYesNoRadio($this->qid); 1062 case Question::QT_Z_LIST_RADIO_FLEXIBLE: return new DataSetListRadioFlexible($this->qid); 1063 case Question::QT_COLON_ARRAY_MULTI_FLEX_NUMBERS: return new DataSetArrayMultiFlexNumbers($this->qid);
#0 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/questionedit.php(286): Question->getDataSetObject() 281 } 282 283 public function getGeneralOptions($iQuestionId, $sQuestionType=null, $returnArray = false) 284 { 285 $oQuestion = $this->_getQuestionObject($iQuestionId, $sQuestionType); 286 $aGeneralOptionsArray = $oQuestion->getDataSetObject()->getGeneralSettingsArray($oQuestion->qid, $sQuestionType); 287 288 if ($returnArray === true) { 289 return $aGeneralOptionsArray; 290 } 291 |
#1 |
unknown(0): questionedit->getGeneralOptions("7544", "K", false)
|
#2 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(questionedit, array("7544", "K", false)) 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(questionedit,
ReflectionMethod, array("r" => "admin/questioneditor", "sid" =>
"594577", "gid" => "588", "sa" => "getGeneralOptions", ...)) 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 |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/questioneditor", "sid" => "594577", "gid" => "588", "sa" => "getGeneralOptions", ...)) 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 |
+
–
/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(); |
#6 |
+
–
/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); |
#7 |
+
–
/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 * |
#8 |
+
–
/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))); |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/questioneditor") 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 |
+
–
/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 /** |
#11 |
+
–
/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 */ |