C:\etc\Apache\htdocs\MSSQL\application\helpers\common_helper.php(2984)
2972 return dbSelectLimitAssoc($uquery); //Checked 2973 } 2974 2975 /** 2976 * This function returns a count of the number of saved responses to a survey 2977 * 2978 * @param mixed $surveyid Survey ID 2979 */ 2980 function getSavedCount($surveyid) 2981 { 2982 $surveyid=(int)$surveyid; 2983 2984 return Saved_control::getCountOfAll($surveyid); 2985 } 2986 2987 /** 2988 * Returns the base language from a survey id 2989 * 2990 * @deprecated Use Survey::model()->findByPk($surveyid)->language 2991 * @param int $surveyid 2992 * @return string 2993 */ 2994 function getBaseLanguageFromSurveyID($surveyid) 2995 { 2996 return Survey::model()->findByPk($surveyid)->language;
#0 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\helpers\common_helper.php(2984): Saved_control::getCountOfAll() 2979 */ 2980 function getSavedCount($surveyid) 2981 { 2982 $surveyid=(int)$surveyid; 2983 2984 return Saved_control::getCountOfAll($surveyid); 2985 } 2986 2987 /** 2988 * Returns the base language from a survey id 2989 * |
#1 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\views\admin\saved\savedbar_view.php(16): getSavedCount("761276") 11 </a> 12 </div> 13 </div> 14 </div> 15 <div class='header ui-widget-header'> 16 <?php $clang->eT('Saved Responses:'); ?> <?php echo getSavedCount($iSurveyId); ?> 17 </div> |
#2 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CBaseController.php(127): require("C:\etc\Apache\htdocs\MSSQL\application\views\admin\saved\savedba...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#3 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CBaseController.php(96): CBaseController->renderInternal("C:\etc\Apache\htdocs\MSSQL\application\views/admin/saved/savedba...", array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276", "display" => array("menu_bars" => false), "clang" => Limesurvey_lang, ...), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#4 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(870): CBaseController->renderFile("C:\etc\Apache\htdocs\MSSQL\application\views/admin/saved/savedba...", array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276", "display" => array("menu_bars" => false), "clang" => Limesurvey_lang, ...), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#5 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(783): CController->renderPartial("/admin/saved/savedbar_view", array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276", "display" => array("menu_bars" => false), "clang" => Limesurvey_lang, ...), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#6 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\core\Survey_Common_Action.php(268): CController->render("/admin/saved/savedbar_view", array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276", "display" => array("menu_bars" => false), "clang" => Limesurvey_lang, ...)) 263 { 264 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) 265 { 266 if (is_numeric($sViewKey)) 267 { 268 Yii::app()->getController()->render($sViewPath . $viewUrl, $aData); 269 } 270 elseif (is_array($viewUrl)) 271 { 272 foreach ($viewUrl as $aSubData) 273 { |
#7 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\controllers\admin\saved.php(73): Survey_Common_Action->_renderWrappedTemplate("saved", array(0 => "savedbar_view", "savedlist_view" => array(array("aResults" => array()))), array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276", "display" => array("menu_bars" => false))) 68 * @param array $aData Data to be passed on. Optional. 69 */ 70 protected function _renderWrappedTemplate($sAction = 'saved', $aViewUrls = array(), $aData = array()) 71 { 72 $aData['display']['menu_bars'] = false; 73 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 74 } 75 76 /** 77 * Load saved list. 78 * @param mixed $iSurveyId Survey id |
#8 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\controllers\admin\saved.php(47): saved->_renderWrappedTemplate("saved", array(0 => "savedbar_view", "savedlist_view" => array(array("aResults" => array()))), array("sSurveyName" => "UNC Lineberger Comprehensive Cancer Center Survey", "iSurveyId" => "761276")) 42 $aData['sSurveyName'] = $aThisSurvey['name']; 43 $aData['iSurveyId'] = $iSurveyId; 44 $aViewUrls[] = 'savedbar_view'; 45 $aViewUrls['savedlist_view'][] = $this->_showSavedList($iSurveyId); 46 47 $this->_renderWrappedTemplate('saved', $aViewUrls, $aData); 48 } 49 50 /** 51 * Function responsible to delete saved responses. 52 */ |
#9 |
unknown(0): saved->view("761276")
|
#10 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\actions\CAction.php(107): ReflectionMethod->invokeArgs(saved, array("761276")) 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 } |
#11 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\core\Survey_Common_Action.php(82): CAction->runWithParamsInternal(saved, ReflectionMethod, array("surveyid" => "761276", "sa" => "view", "iSurveyId" => "761276", "iSurveyID" => "761276")) 77 $oMethod = new ReflectionMethod($this, $sDefault); 78 } 79 80 // We're all good to go, let's execute it 81 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 82 return parent::runWithParamsInternal($this, $oMethod, $params); 83 } 84 85 /** 86 * Some functions have different parameters, which are just an alias of the 87 * usual parameters we're getting in the url. This function just populates |
#12 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(309): Survey_Common_Action->runWithParams(array("surveyid" => "761276", "sa" => "view")) 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; |
#13 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(287): CController->runAction(saved) 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(); |
#14 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(266): CController->runActionWithFilters(saved, 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); |
#15 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\controllers\AdminController.php(159): CController->run("saved") 154 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri; 155 156 $this->redirect($this->createUrl('/admin/authentication/login')); 157 } 158 159 return parent::run($action); 160 } 161 162 /** 163 * Routes all the actions to their respective places 164 * |
#16 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(276): AdminController->run("saved") 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))); |
#17 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(135): CWebApplication->runController("admin/saved/sa/view") 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. |
#18 |
+
–
C:\etc\Apache\htdocs\MSSQL\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 /** |
#19 |
+
–
C:\etc\Apache\htdocs\MSSQL\index.php(178): CApplication->run() 173 * 174 */ 175 require_once BASEPATH . 'yii' . EXT; 176 require_once APPPATH . 'core/LSYii_Application' . EXT; 177 178 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 179 180 /* End of file index.php */ 181 /* Location: ./index.php */ |