/home/nsnetca/public_html/protected/controllers/SBCmsController.php(5)
01 <?php 02 03 class SBCmsController extends Controller 04 05 { 06 /** 07 * Declares class-based actions. 08 */ 09 public function init() 10 { 11 $this->layout = '//layouts/column1'; 12 $this->defaultAction = 'home.html'; 13 14 } 15 16 17 public function actions()
#0 |
+
–
/home/nsnetca/framework/web/CWebApplication.php(396): require("/home/nsnetca/public_html/protected/controllers/SBCmsController....") 391 $className=ucfirst($id).'Controller'; 392 $classFile=$basePath.DIRECTORY_SEPARATOR.$className.'.php'; 393 if(is_file($classFile)) 394 { 395 if(!class_exists($className,false)) 396 require($classFile); 397 if(class_exists($className,false) && is_subclass_of($className,'CController')) 398 { 399 $id[0]=strtolower($id[0]); 400 return array( 401 new $className($controllerID.$id,$owner===$this?null:$owner), |
#1 |
+
–
/home/nsnetca/framework/web/CWebApplication.php(322): CWebApplication->createController("") 317 * @param string $route the route of the current request. See {@link createController} for more details. 318 * @throws CHttpException if the controller could not be created. 319 */ 320 public function runController($route) 321 { 322 if(($ca=$this->createController($route))!==null) 323 { 324 list($controller,$actionID)=$ca; 325 $oldController=$this->_controller; 326 $this->_controller=$controller; 327 $controller->init(); |
#2 |
+
–
/home/nsnetca/framework/web/CWebApplication.php(121): CWebApplication->runController("") 116 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 117 $_GET[$name]=$value; 118 } 119 else 120 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 121 $this->runController($route); 122 } 123 124 /** 125 * Registers the core application components. 126 * This method overrides the parent implementation by registering additional core components. |
#3 |
+
–
/home/nsnetca/framework/base/CApplication.php(155): CWebApplication->processRequest() 150 */ 151 public function run() 152 { 153 if($this->hasEventHandler('onBeginRequest')) 154 $this->onBeginRequest(new CEvent($this)); 155 $this->processRequest(); 156 if($this->hasEventHandler('onEndRequest')) 157 $this->onEndRequest(new CEvent($this)); 158 } 159 160 /** |
#4 |
+
–
/home/nsnetca/public_html/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |