/home/aapp/www_survey/application/third_party/pchart/pchart/pChart.class(118)
106 define("TARGET_BACKGROUND",2); 107 define("ALIGN_TOP_LEFT",1); 108 define("ALIGN_TOP_CENTER",2); 109 define("ALIGN_TOP_RIGHT",3); 110 define("ALIGN_LEFT",4); 111 define("ALIGN_CENTER",5); 112 define("ALIGN_RIGHT",6); 113 define("ALIGN_BOTTOM_LEFT",7); 114 define("ALIGN_BOTTOM_CENTER",8); 115 define("ALIGN_BOTTOM_RIGHT",9); 116 117 /* pChart class definition */ 118 class pChart 119 { 120 /* Palettes definition */ 121 var $Palette = array("0"=>array("R"=>188,"G"=>224,"B"=>46), 122 "1"=>array("R"=>224,"G"=>100,"B"=>46), 123 "2"=>array("R"=>224,"G"=>214,"B"=>46), 124 "3"=>array("R"=>46,"G"=>151,"B"=>224), 125 "4"=>array("R"=>176,"G"=>46,"B"=>224), 126 "5"=>array("R"=>224,"G"=>46,"B"=>117), 127 "6"=>array("R"=>92,"G"=>224,"B"=>46), 128 "7"=>array("R"=>224,"G"=>176,"B"=>46)); 129 130 /* Some static vars used in the class */
#0 |
+
–
/home/aapp/www_survey/application/helpers/admin/statistics_helper.php(2392): require_once() 2387 $astatdata = array(); 2388 2389 if ($usegraph==1 && $outputType != 'html') 2390 { 2391 //for creating graphs we need some more scripts which are included here 2392 require_once(APPPATH.'/third_party/pchart/pchart/pChart.class'); 2393 require_once(APPPATH.'/third_party/pchart/pchart/pData.class'); 2394 require_once(APPPATH.'/third_party/pchart/pchart/pCache.class'); 2395 $MyCache = new pCache($tempdir.'/'); 2396 } 2397 |
#1 |
+
–
/home/aapp/www_survey/application/helpers/admin/statistics_helper.php(4450): statistics_helper->displayResults(array("alist" => array(array("Y", "Yes"), array("N", "No"), array("", "No answer", false, "is_no_answer")), "qtitle" => "A0000", "qquestion" => "Do you know the AAPP (Alcatel-Lucent Enterprise Application Part...", "qtype" => "Y", ...), "67", "911434X5X382", "pdf", ...) 4445 $outputs=$this->buildOutputList($rt, $language, $surveyid, $outputType, $sql, $sLanguageCode); 4446 $sOutputHTML .= $outputs['statisticsoutput']; 4447 //2. Collect and Display results ####################################################################### 4448 if (isset($outputs['alist']) && $outputs['alist']) //Make sure there really is an answerlist, and if so: 4449 { 4450 $display=$this->displayResults($outputs, $results, $rt, $outputType, $surveyid, $sql, $usegraph, $browse, $sLanguageCode); 4451 $sOutputHTML .= $display['statisticsoutput']; 4452 $aStatisticsData = array_merge($aStatisticsData, $display['astatdata']); 4453 } //end if -> collect and display results 4454 4455 |
#2 |
+
–
/home/aapp/www_survey/application/controllers/admin/statistics.php(483): statistics_helper->generate_statistics("911434", array("datestampE", "datestampG", "datestampL", "idG", ...), array("datestampE", "datestampG", "datestampL", "idG", ...), 1, ...) 478 switch($outputType){ 479 case 'html': 480 $statisticsoutput .= $helper->generate_html_chartjs_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'DD',$statlang); 481 break; 482 case 'pdf': 483 $helper->generate_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'I',$statlang); 484 exit; 485 break; 486 case 'xls': 487 $helper->generate_statistics($surveyid,$summary,$summary,$usegraph,$outputType,'DD',$statlang); 488 exit; |
#3 |
unknown(0): statistics->run("911434", null)
|
#4 |
+
–
/home/aapp/www_survey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(statistics, array("911434", null)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#5 |
+
–
/home/aapp/www_survey/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(statistics, ReflectionMethod, array("surveyid" => "911434", "sa" => "index", "iSurveyId" => "911434", "iSurveyID" => "911434", ...)) 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#6 |
+
–
/home/aapp/www_survey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "911434", "sa" => "index", "iSurveyId" => "911434", "iSurveyID" => "911434", ...)) 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; |
#7 |
+
–
/home/aapp/www_survey/framework/web/CController.php(286): CController->runAction(statistics) 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(); |
#8 |
+
–
/home/aapp/www_survey/framework/web/CController.php(265): CController->runActionWithFilters(statistics, 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); |
#9 |
+
–
/home/aapp/www_survey/application/controllers/AdminController.php(177): CController->run("statistics") 172 $this->redirect(array('/admin/authentication/sa/login')); 173 } 174 175 } 176 177 return parent::run($action); 178 } 179 180 /** 181 * Routes all the actions to their respective places 182 * |
#10 |
+
–
/home/aapp/www_survey/framework/web/CWebApplication.php(282): AdminController->run("statistics") 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))); |
#11 |
+
–
/home/aapp/www_survey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/statistics/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. |
#12 |
+
–
/home/aapp/www_survey/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 /** |
#13 |
+
–
/home/aapp/www_survey/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |