/mnt/data/shnoulle/nginx/www/master/application/views/admin/dataentry/content_view.php(37)
25 </td> 26 27 28 <!-- question text --> 29 <td valign='top' align='right' width='30%'> 30 <!-- mandatory --> 31 <?php if ($deqrow['mandatory']=="Y"):?> 32 <span class="text-warning">*</span> 33 <?php endif; ?> 34 35 <!-- question text --> 36 <strong> 37 <?php echo $deqrow->questionL10ns[$sDataEntryLanguage]->question; // don't flatten if want to use EM. However, may not be worth it as want dynamic relevance and question changes?> 38 </strong> 39 </td> 40 41 <!-- Answers --> 42 <td valign='top' align='left' style='padding-left: 20px'> 43 <?php switch($deqrow['type']) 44 { 45 46 47 //5 POINT CHOICE radio-buttons 48 case Question::QT_5_POINT_CHOICE: ?> 49 <div class="col-sm-10">
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/master/application/views/admin/data...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/admin/data...", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/views/admin/data...", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(222): CController->renderPartial("/admin/dataentry/content_view", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true, false) 217 } 218 219 } 220 } 221 222 return parent::renderPartial($view,$data,$return,$processOutput); 223 } 224 225 /** 226 * Routes all the actions to their respective places 227 * |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/dataentry.php(2030): AdminController->renderPartial("/admin/dataentry/content_view", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true) 2025 $cdata['fresult'] = Answer::model()->findAllByAttributes(['qid'=>$arQuestion['qid']]); 2026 break; 2027 } 2028 2029 $cdata['sDataEntryLanguage'] = $sDataEntryLanguage; 2030 $viewdata = $this->getController()->renderPartial("/admin/dataentry/content_view", $cdata, true); 2031 $viewdata_em = LimeExpressionManager::ProcessString($viewdata, $arQuestion['qid'], null, 1, 1); 2032 $aDataentryoutput .= $viewdata_em; 2033 } 2034 LimeExpressionManager::FinishProcessingGroup(); 2035 } |
#5 |
unknown(0): dataentry->view("775775")
|
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(dataentry, array("775775")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(dataentry, ReflectionMethod, array("surveyid" => "775775", "lang" => "fr", "sa" => "view", "iSurveyId" => "775775", ...)) 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "775775", "lang" => "fr", "sa" => "view", "iSurveyId" => "775775", ...)) 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; |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(dataentry) 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(); |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(dataentry, 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); |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(165): CController->run("dataentry") 160 } 161 162 $this->runModuleController($action); 163 164 165 return parent::run($action); 166 } 167 168 /** 169 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 170 */ |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): AdminController->run("dataentry") 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))); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/dataentry/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. |
#14 |
+
–
/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 /** |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/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 */ |