/mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(145)
133 */ 134 public function __get($name) 135 { 136 if(isset($this->_attributes[$name])) 137 return $this->_attributes[$name]; 138 elseif(isset($this->getMetaData()->columns[$name])) 139 return null; 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. 151 * @param string $name property name 152 * @param mixed $value property value 153 * @throws CException 154 */ 155 public function __set($name,$value) 156 { 157 if($this->setAttribute($name,$value)===false)
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(145): CComponent->__get("138378X977X16179AND#0") 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. |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/base/CModel.php(596): CActiveRecord->__get("138378X977X16179AND#0") 591 * @param integer $offset the offset to retrieve element. 592 * @return mixed the element at the offset, null if no element is found at the offset 593 */ 594 public function offsetGet($offset) 595 { 596 return $this->$offset; 597 } 598 599 /** 600 * Sets the element at the specified offset. 601 * This method is required by the interface ArrayAccess. |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(916): CModel->offsetGet("138378X977X16179AND#0") 911 $aAnswerText[$value['code']] = $value['answer']; 912 } 913 914 $tempFieldname = $fieldname.'#0'; 915 $sAnswerCode = isset($oResponses[$tempFieldname]) ? $oResponses[$tempFieldname] : null; 916 $sAnswerText = isset($aAnswerText[$oResponses[$tempFieldname]]) ? $aAnswerText[$oResponses[$tempFieldname]] . ' (' . $sAnswerCode . ')' : null; 917 $aQuestionAttributes['answervalues'][0] = $sAnswerText; 918 919 $tempFieldname = $fieldname.'#1'; 920 $sAnswerCode = isset($oResponses[$tempFieldname]) ? $oResponses[$tempFieldname] : null; 921 $sAnswerText = isset($aAnswerText[$oResponses[$tempFieldname]]) ? $aAnswerText[$oResponses[$tempFieldname]] . ' (' . $sAnswerCode . ')' : null; |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(810): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1, true) 805 //dont collect scale_id > 0 806 if ($oSubquestion->scale_id > 0) { 807 continue; 808 } 809 810 $subQuestionArray = $this->getQuestionArray($oSubquestion, $oResponses, $bHonorConditions, true); 811 if ($oQuestion->type == "P") { 812 $subQuestionArray['comment'] = $this->getQuestionArray($oSubquestion, $oResponses, $bHonorConditions, true, true); 813 } 814 815 $aQuestionAttributes['subquestions'][$oSubquestion->qid] = $subQuestionArray; |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(985): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1) 980 } 981 982 $aAnswersArray = array(); 983 $aQuestionArray = array_filter($oGroup->questions, function($oQuestion) use ($sLanguage) { return $oQuestion->language == $sLanguage;}); 984 foreach ( $aQuestionArray as $oQuestion) { 985 $aQuestionArray = $this->getQuestionArray($oQuestion, $oResponses, $bHonorConditions); 986 987 if ($aQuestionArray === false) { 988 continue; 989 } 990 |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/PrintanswersController.php(126): SurveyDynamic->getPrintAnswersArray("415", "en", 1) 121 $sAnonymized = $aSurveyInfo['anonymized']; 122 //OK. IF WE GOT THIS FAR, THEN THE SURVEY EXISTS AND IT IS ACTIVE, SO LETS GET TO WORK. 123 //SHOW HEADER 124 $oResponseRow = SurveyDynamic::model($iSurveyID); 125 $printanswershonorsconditions = Yii::app()->getConfig('printanswershonorsconditions'); 126 $groupArray = $oResponseRow->getPrintAnswersArray($sSRID, $sLanguage, $printanswershonorsconditions); 127 128 // Remove all <script>...</script> content from result. 129 Yii::import('application.helpers.viewHelper'); 130 foreach ($groupArray as &$group) { 131 $group['description'] = viewHelper::flatEllipsizeText($group['description'], true, 0); |
#6 |
unknown(0): PrintanswersController->actionView("138378", false)
|
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(PrintanswersController, array("138378", 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 } |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(PrintanswersController, ReflectionMethod, array("surveyid" => "138378")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): CInlineAction->runWithParams(array("surveyid" => "138378")) 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; |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(CInlineAction) 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(); |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, 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); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): CController->run("view") 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("printanswers/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(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |