/homepages/7/d527667691/htdocs/steeldart/protected/controllers/MatchController.php(8)
01 <?php 02 03 class MatchController extends CController 04 { 05 public function actionIndex($matchDayID) 06 { 07 $param = array(); 08 $model = new Match(); 09 $matches = $model->with('matchday')->findAllByAttributes(array('matchdayID' => $matchDayID)); 10 11 $this->pageTitle = 'Match: ' . $matches[0]->matchday->home->name . ' vs. ' . $matches[0]->matchday->away->name . ' - ' . Yii::app()->name; 12 13 if ($matches) { 14 $homePoints = 0; 15 $awayPoints = 0; 16 foreach ($matches as $match) { 17 if ($match['home'] > $match['away']) 18 $homePoints++; 19 else 20 $awayPoints++;
#0 |
+
–
/homepages/7/d527667691/htdocs/steeldart/framework/web/CWebApplication.php(276): CWebApplication->createController() 271 * @param string $route the route of the current request. See {@link createController} for more details. 272 * @throws CHttpException if the controller could not be created. 273 */ 274 public function runController($route) 275 { 276 if(($ca=$this->createController($route))!==null) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); |
#1 |
+
–
/homepages/7/d527667691/htdocs/steeldart/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
#2 |
+
–
/homepages/7/d527667691/htdocs/steeldart/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 /** |
#3 |
+
–
/homepages/7/d527667691/htdocs/steeldart/index.php(9): CApplication->run() 4 setlocale(LC_TIME, "de_DE"); 5 setlocale(LC_ALL, 'de_DE'); 6 defined('YII_DEBUG') or define('YII_DEBUG', true); 7 $config = dirname(__FILE__) . '/protected/config/main.php'; 8 require_once(dirname(__FILE__) . '/framework/yii.php'); 9 Yii::createWebApplication($config)->run(); |