/data/webdev/master/application/controllers/admin/CheckIntegrity.php(765)
753 if ($condition['cqid'] != 0) { 754 // skip case with cqid=0 for codnitions on {TOKEN:EMAIL} for instance 755 if (!array_key_exists($condition['cqid'], $okQuestion)) { 756 $iRowCount = Question::model()->countByAttributes(array('qid' => $condition['cqid'])); 757 if (!$iRowCount) { 758 $aDelete['conditions'][] = array('cid' => $condition['cid'], 'reason' => gT('No matching CQID')); 759 } else { 760 $okQuestion[$condition['cqid']] = $condition['cqid']; 761 } 762 } 763 } 764 // Check that QID exists 765 if (!array_key_exists($condition['qid'], $okQuestion)) { 766 $iRowCount = Question::model()->countByAttributes(array('qid' => $condition['qid'])); 767 if (!$iRowCount) { 768 $aDelete['conditions'][] = array('cid' => $condition['cid'], 'reason' => gT('No matching QID')); 769 } else { 770 $okQuestion[$condition['qid']] = $condition['qid']; 771 } 772 } 773 //Only do this if there actually is a 'cfieldname' 774 if ($condition['cfieldname']) { 775 // only if cfieldname isn't Tag such as {TOKEN:EMAIL} or any other token 776 if (preg_match('/^\+{0,1}[0-9]+X[0-9]+X*$/', $condition['cfieldname'])) { 777 list ($surveyid, $gid, $rest) = explode('X', $condition['cfieldname']);
#0 |
+
–
/data/webdev/master/application/controllers/admin/CheckIntegrity.php(51): CheckIntegrity->checkintegrity() 46 * 47 * @throws Exception 48 */ 49 public function index() 50 { 51 $aData = $this->checkintegrity(); 52 $aData['pageTitle'] = gT('Check data integrity'); 53 $aData['fullpagebar']['returnbutton']['url'] = 'admin/index'; 54 $aData['fullpagebar']['returnbutton']['text'] = gT('Back'); 55 56 $this->renderWrappedTemplate('checkintegrity', 'check_view', $aData); |
#1 |
unknown(0): CheckIntegrity->index()
|
#2 |
+
–
/data/webdev/master/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs(CheckIntegrity, array()) 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#3 |
+
–
/data/webdev/master/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal(CheckIntegrity, ReflectionMethod, array("r" => "admin/checkintegrity")) 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 |
+
–
/data/webdev/master/framework/web/CController.php(308): SurveyCommonAction->runWithParams(array("r" => "admin/checkintegrity")) 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 |
+
–
/data/webdev/master/framework/web/CController.php(286): CController->runAction(CheckIntegrity) 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 |
+
–
/data/webdev/master/framework/web/CController.php(265): CController->runActionWithFilters(CheckIntegrity, 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 |
+
–
/data/webdev/master/application/controllers/AdminController.php(202): CController->run("checkintegrity") 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 207 * |
#8 |
+
–
/data/webdev/master/framework/web/CWebApplication.php(282): AdminController->run("checkintegrity") 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 |
+
–
/data/webdev/master/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/checkintegrity") 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 |
+
–
/data/webdev/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 /** |
#11 |
+
–
/data/webdev/master/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |