/home/u329040/moscowsurveys.ru/www/application/helpers/common_helper.php(1776)
1764 1765 /** 1766 * 1767 * @param type $iSurveyID The Survey ID 1768 * @param type $sFieldCode Field code of the particular field 1769 * @param type $sValue The stored response value 1770 * @param object $oLanguage Initialized limesurvey_lang object for the resulting response data 1771 * @return string 1772 */ 1773 function getExtendedAnswer($iSurveyID, $sFieldCode, $sValue, $oLanguage) 1774 { 1775 if (is_null($sValue) || $sValue=='') return ''; 1776 $sLanguage = $oLanguage->langcode; 1777 //Fieldcode used to determine question, $sValue used to match against answer code 1778 //Returns NULL if question type does not suit 1779 if (strpos($sFieldCode, "{$iSurveyID}X")===0) //Only check if it looks like a real fieldcode 1780 { 1781 $fieldmap = createFieldMap($iSurveyID,'short',false,false,$sLanguage); 1782 if (isset($fieldmap[$sFieldCode])) 1783 $fields = $fieldmap[$sFieldCode]; 1784 else 1785 return false; 1786 //Find out the question type 1787 $this_type = $fields['type']; 1788 switch($this_type)
#0 |
+
–
/home/u329040/moscowsurveys.ru/www/application/helpers/common_helper.php(5780): getExtendedAnswer("763981", "id", "7", "ru") 5775 } 5776 } 5777 } 5778 else 5779 { 5780 $answer=getExtendedAnswer($iSurveyID,$fname['fieldname'], $idrow[$fname['fieldname']],$sLanguageCode); 5781 $aResultTable[$fname['fieldname']]=array($question,'',$answer); 5782 continue; 5783 } 5784 if (isset($fname['subquestion'])) 5785 $subquestion = "{$fname['subquestion']}"; |
#1 |
+
–
/home/u329040/moscowsurveys.ru/www/application/controllers/PrintanswersController.php(148): getFullResponseTable("763981", "7", "ru", true) 143 144 LimeExpressionManager::StartProcessingPage(true); // means that all variables are on the same page 145 // Since all data are loaded, and don't need JavaScript, pretend all from Group 1 146 LimeExpressionManager::StartProcessingGroup(1,($thissurvey['anonymized']!="N"),$surveyid); 147 148 $aFullResponseTable = getFullResponseTable($surveyid,$id,$language,true); 149 150 //Get the fieldmap @TODO: do we need to filter out some fields? 151 unset ($aFullResponseTable['id']); 152 unset ($aFullResponseTable['token']); 153 unset ($aFullResponseTable['lastpage']); |
#2 |
unknown(0): PrintanswersController->actionView("763981", false)
|
#3 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(PrintanswersController, array("763981", false)) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#4 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(PrintanswersController, ReflectionMethod, array("surveyid" => "763981")) 43 { 44 $methodName='action'.$this->getId(); 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#5 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/CController.php(309): CInlineAction->runWithParams(array("surveyid" => "763981")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#6 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#7 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#8 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/CWebApplication.php(276): CController->run("view") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#9 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/web/CWebApplication.php(135): CWebApplication->runController("printanswers/view/surveyid/763981") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#10 |
+
–
/home/u329040/moscowsurveys.ru/www/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#11 |
+
–
/home/u329040/moscowsurveys.ru/www/index.php(171): CApplication->run() 166 * 167 */ 168 require_once BASEPATH . 'yii' . EXT; 169 require_once APPPATH . 'core/LSYii_Application' . EXT; 170 171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 172 173 /* End of file index.php */ 174 /* Location: ./index.php */ |