/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/token/managetokenattributes.php(103)
091 { 092 echo CHtml::dropDownList('cpdbmap_'.$sTokenField,$tokenvalues['cpdbmap'],$aCPDBAttributes, array('class' => 'form-control')); 093 } 094 else 095 { 096 echo $aCPDBAttributes[$tokenvalues['cpdbmap']]; 097 } 098 ?></td> 099 <td> 100 <?php 101 if ($examplerow !== false) 102 { 103 echo htmlspecialchars($examplerow[$sTokenField]); 104 } 105 else 106 { 107 gT('<no data>'); 108 } 109 echo "</td>"; 110 echo "</tr>"; 111 } 112 ?> 113 <tbody></table></div> 114 <?php } ?> 115 </div>
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/token/...") 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/3LTS/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/token/...",
array("sidemenu" => array("state" => false, "token_menu" =>
true), "title_bar" => array("title" => "Test prefill
(ID:721221)"), "token_bar" => array("closebutton" => array("url"
=> "admin/tokens/sa/index/surveyid/721221")), "thissurvey" =>
array("htmlemail" => "Y", "format" => "G", "template" =>
"vanilla", "language" => "en", ...), ...), 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/3LTS/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/token/...",
array("sidemenu" => array("state" => false, "token_menu" =>
true), "title_bar" => array("title" => "Test prefill
(ID:721221)"), "token_bar" => array("closebutton" => array("url"
=> "admin/tokens/sa/index/surveyid/721221")), "thissurvey" =>
array("htmlemail" => "Y", "format" => "G", "template" =>
"vanilla", "language" => "en", ...), ...), 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/3LTS/application/core/Survey_Common_Action.php(269): CController->renderPartial("/admin/token/managetokenattributes",
array("sidemenu" => array("state" => false, "token_menu" =>
true), "title_bar" => array("title" => "Test prefill
(ID:721221)"), "token_bar" => array("closebutton" => array("url"
=> "admin/tokens/sa/index/surveyid/721221")), "thissurvey" =>
array("htmlemail" => "Y", "format" => "G", "template" =>
"vanilla", "language" => "en", ...), ...), true) 264 // Load views 265 $content = ""; 266 foreach ($aViewUrls as $sViewKey => $viewUrl) { 267 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { 268 if (is_numeric($sViewKey)) { 269 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); 270 } elseif (is_array($viewUrl)) { 271 foreach ($viewUrl as $aSubData) { 272 $aSubData = array_merge($aData, $aSubData); 273 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); 274 } |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(346): Survey_Common_Action->renderCentralContents("token",
array("managetokenattributes"), array("sidemenu" => array("state"
=> false, "token_menu" => true), "title_bar" => array("title"
=> "Test prefill (ID:721221)"), "token_bar" => array("closebutton"
=> array("url" => "admin/tokens/sa/index/surveyid/721221")),
"thissurvey" => array("htmlemail" => "Y", "format" => "G",
"template" => "vanilla", "language" => "en", ...), ...)) 341 } 342 } else { 343 $renderFile = $basePath.'/'.$sRenderFile; 344 } 345 346 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 347 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 348 349 App()->getClientScript()->render($out); 350 echo $out; 351 } |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/tokens.php(2605): Survey_Common_Action->_renderWrappedTemplate("token",
array("managetokenattributes"), array("sidemenu" => array("state"
=> false, "token_menu" => true), "title_bar" => array("title"
=> "Test prefill (ID:721221)"), "token_bar" => array("closebutton"
=> array("url" => "admin/tokens/sa/index/surveyid/721221")),
"thissurvey" => array("htmlemail" => "Y", "format" => "G",
"template" => "vanilla", "language" => "en", ...), ...), false)
2600 protected function _renderWrappedTemplate($sAction = 'token', $aViewUrls = array(), $aData = array(), $sRenderFile = false) 2601 { 2602 $aData['imageurl'] = Yii::app()->getConfig('adminimageurl'); 2603 $aData['display']['menu_bars'] = false; 2604 $aData['subaction'] = gT('Survey participants'); 2605 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 2606 } 2607 2608 /** 2609 * @return string SQL condition 2610 */ |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/tokens.php(1106): tokens->_renderWrappedTemplate("token",
array("managetokenattributes"), array("sidemenu" => array("state"
=> false, "token_menu" => true), "title_bar" => array("title"
=> "Test prefill (ID:721221)"), "token_bar" => array("closebutton"
=> array("url" => "admin/tokens/sa/index/surveyid/721221")),
"thissurvey" => array("htmlemail" => "Y", "format" => "G",
"template" => "vanilla", "language" => "en", ...), ...)) 1101 $aData['examplerow'] = TokenDynamic::model($iSurveyId)->find(); 1102 $aData['aCPDBAttributes'][''] = gT('(none)'); 1103 foreach (ParticipantAttributeName::model()->getCPDBAttributes() as $aCPDBAttribute) { 1104 $aData['aCPDBAttributes'][$aCPDBAttribute['attribute_id']] = $aCPDBAttribute['attribute_name']; 1105 } 1106 $this->_renderWrappedTemplate('token', array('managetokenattributes'), $aData); 1107 } 1108 1109 /** 1110 * Update token attributes 1111 * @param int $iSurveyId |
#7 |
unknown(0): tokens->managetokenattributes(721221)
|
#8 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(tokens, array("721221")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(tokens,
ReflectionMethod, array("r" =>
"admin/tokens/sa/managetokenattributes/surveyid/721221", "sa" =>
"managetokenattributes", "surveyid" => "721221", "iSurveyId" =>
"721221", ...)) 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 |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r"
=> "admin/tokens/sa/managetokenattributes/surveyid/721221", "sa"
=> "managetokenattributes", "surveyid" => "721221", "iSurveyId"
=> "721221", ...)) 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; |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): CController->runAction(tokens) 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(); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): CController->runActionWithFilters(tokens, 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); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/AdminController.php(165): CController->run("tokens") 160 $this->redirect(array('/admin/authentication/sa/login')); 161 } 162 } 163 } 164 165 return parent::run($action); 166 } 167 168 /** 169 * Routes all the actions to their respective places 170 * |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): AdminController->run("tokens") 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))); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/tokens/sa/managetokenattributes/surveyid/721221") 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. |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 /** |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 */ |