/protected/components/Controller.php(7)
01 <?php 02 03 /** 04 * Controller is the customized base controller class. 05 * All controller classes for this application should extend from this base class. 06 */ 07 class Controller extends CController 08 { 09 10 /** 11 * @var string the default layout for the controller view. Defaults to '//layouts/column1', 12 * meaning using a single column layout. See 'protected/views/layouts/column1.php'. 13 */ 14 public $layout = '//layouts/column2'; 15 public $settings; 16 public $menu = array(); 17 public $menuF = array(); 18 public $menuT = array(); 19 public $full_menu = array();
#0 |
+
–
/framework/YiiBase.php(427): include("/protected/components/Controller.php") 422 break; 423 } 424 } 425 } 426 else 427 include($className.'.php'); 428 } 429 else // class name with namespace in PHP 5.3 430 { 431 $namespace=str_replace('\\','.',ltrim($className,'\\')); 432 if(($path=self::getPathOfAlias($namespace))!==false) |
#1 |
unknown(0): YiiBase::autoload("Controller")
|
#2 |
+
–
/protected/controllers/TrainingController.php(3): spl_autoload_call("Controller") 1 <?php 2 3 class TrainingController extends Controller 4 { 5 6 /** 7 * @var string the default layout for the views. Defaults to '//layouts/column2', meaning 8 * using two-column layout. See 'protected/views/layouts/column2.php'. |
#3 |
+
–
/framework/web/CWebApplication.php(354): require("/protected/controllers/TrainingController.php") 349 $className=$owner->controllerNamespace.'\\'.$className; 350 351 if(is_file($classFile)) 352 { 353 if(!class_exists($className,false)) 354 require($classFile); 355 if(class_exists($className,false) && is_subclass_of($className,'CController')) 356 { 357 $id[0]=strtolower($id[0]); 358 return array( 359 new $className($controllerID.$id,$owner===$this?null:$owner), |
#4 |
+
–
/framework/web/CWebApplication.php(276): CWebApplication->createController("zgloszenie/") 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(); |
#5 |
+
–
/framework/web/CWebApplication.php(141): CWebApplication->runController("training/zgloszenie") 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. |
#6 |
+
–
/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 /** |
#7 |
+
–
/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 // specify how many levels of call stack should be shown in each log message 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); |