/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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 */ 154 public function __set($name,$value) 155 { 156 if($this->setAttribute($name,$value)===false) 157 {
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/db/ar/CActiveRecord.php(145): CComponent->__get("defaultlanguage") 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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/common_helper.php(6128): CActiveRecord->__get("defaultlanguage") 6123 //while ($survey_quotas = $result->FetchRow()) 6124 foreach ($result as $_survey_quotas) 6125 { 6126 $survey_quotas = $_survey_quotas->attributes; 6127 // !!! Doubting this 6128 foreach ($_survey_quotas->defaultlanguage as $k => $v) 6129 $survey_quotas[$k] = $v; 6130 6131 array_push($quota_info,array('Name' => $survey_quotas['name'], 6132 'Limit' => $survey_quotas['qlimit'], 6133 'Action' => $survey_quotas['action'], |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/common_helper.php(5935): getQuotaInformation("151331", "en", "14") 5930 * @return mixed - Integer of matching entries in the result DB or 'N/A' 5931 */ 5932 function getQuotaCompletedCount($iSurveyId, $quotaid) 5933 { 5934 $result = "N/A"; 5935 $quota_info = getQuotaInformation($iSurveyId, Survey::model()->findByPk($iSurveyId)->language, $quotaid); 5936 $quota = $quota_info[0]; 5937 5938 if (Yii::app()->db->schema->getTable('{{survey_' . $iSurveyId . '}}') && 5939 count($quota['members']) > 0) 5940 { |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/admin/quotas.php(118): getQuotaCompletedCount("151331", "14") 113 $aViewUrls['output'] = ''; 114 //loop through all quotas 115 foreach ($aResult as $aQuotaListing) 116 { 117 $totalquotas += $aQuotaListing['qlimit']; 118 $completed = getQuotaCompletedCount($iSurveyId, $aQuotaListing['id']); 119 $highlight = ($completed >= $aQuotaListing['qlimit']) ? '' : "style='color: orange'"; //Incomplete quotas displayed in red 120 $totalcompleted = $totalcompleted + $completed; 121 $csvoutput[] = $aQuotaListing['name'] . "," . $aQuotaListing['qlimit'] . "," . $completed . "," . ($aQuotaListing['qlimit'] - $completed) . "\r\n"; 122 123 if ($quickreport != false) |
#4 |
unknown(0): quotas->index("151331", false)
|
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(quotas, array("151331", false)) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(quotas,
ReflectionMethod, array("surveyid" => "151331", "sa" => "index",
"iSurveyId" => "151331", "iSurveyID" => "151331")) 094 $oMethod = new ReflectionMethod($this, $sDefault); 095 } 096 097 // We're all good to go, let's execute it 098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 099 return parent::runWithParamsInternal($this, $oMethod, $params); 100 } 101 102 /** 103 * Some functions have different parameters, which are just an alias of the 104 * usual parameters we're getting in the url. This function just populates |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "151331", "sa" => "index")) 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; |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(286): CController->runAction(quotas) 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(); |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(265): CController->runActionWithFilters(quotas, 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); |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/AdminController.php(169): CController->run("quotas") 164 $this->redirect(array('/admin/authentication/sa/login')); 165 } 166 167 } 168 169 return parent::run($action); 170 } 171 172 /** 173 * Routes all the actions to their respective places 174 * |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(282): AdminController->run("quotas") 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))); |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/quotas/sa/index") 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. |
#13 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#14 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php(190): CApplication->run() 185 die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath)); 186 } 187 } 188 189 190 Yii::createApplication('LSYii_Application', $config)->run(); 191 192 /* End of file index.php */ 193 /* Location: ./index.php */ |