/home/centos/kiselevjp/protected/components/WebApplicationEndBehavior.php(41)
29 // This event should be raised when CWebApplication 30 // or CWebModule instances are being initialized. 31 public function onModuleCreate($event) 32 { 33 $this->raiseEvent('onModuleCreate', $event); 34 } 35 36 // onModuleCreate event handler. 37 // A sender must have controllerPath and viewPath properties. 38 protected function changeModulePaths($event) 39 { 40 $event->sender->controllerPath .= DIRECTORY_SEPARATOR.$this->_endName; 41 $event->sender->viewPath .= DIRECTORY_SEPARATOR.$this->_endName; 42 } 43 } 44 45 ?>
#0 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CComponent.php(152): CWebModule->setViewPath("/home/centos/kiselevjp/protected/modules/file/views/front") 147 */ 148 public function __set($name,$value) 149 { 150 $setter='set'.$name; 151 if(method_exists($this,$setter)) 152 return $this->$setter($value); 153 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 154 { 155 // duplicating getEventHandlers() here for performance 156 $name=strtolower($name); 157 if(!isset($this->_e[$name])) |
#1 |
+
–
/home/centos/kiselevjp/protected/components/WebApplicationEndBehavior.php(41): CComponent->__set("viewPath", "/home/centos/kiselevjp/protected/modules/file/views/front") 36 // onModuleCreate event handler. 37 // A sender must have controllerPath and viewPath properties. 38 protected function changeModulePaths($event) 39 { 40 $event->sender->controllerPath .= DIRECTORY_SEPARATOR.$this->_endName; 41 $event->sender->viewPath .= DIRECTORY_SEPARATOR.$this->_endName; 42 } 43 } 44 45 ?> |
#2 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CComponent.php(561): WebApplicationEndBehavior->changeModulePaths(CEvent) 556 // an array: 0 - object, 1 - method name 557 list($object,$method)=$handler; 558 if(is_string($object)) // static method call 559 call_user_func($handler,$event); 560 elseif(method_exists($object,$method)) 561 $object->$method($event); 562 else 563 throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".', 564 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1]))); 565 } 566 else // PHP 5.3: anonymous function |
#3 |
+
–
/home/centos/kiselevjp/protected/components/WebApplicationEndBehavior.php(33): CComponent->raiseEvent("onModuleCreate", CEvent) 28 29 // This event should be raised when CWebApplication 30 // or CWebModule instances are being initialized. 31 public function onModuleCreate($event) 32 { 33 $this->raiseEvent('onModuleCreate', $event); 34 } 35 36 // onModuleCreate event handler. 37 // A sender must have controllerPath and viewPath properties. 38 protected function changeModulePaths($event) |
#4 |
unknown(0): WebApplicationEndBehavior->onModuleCreate(CEvent)
|
#5 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CComponent.php(261): call_user_func_array(array(WebApplicationEndBehavior, "onModuleCreate"), array(CEvent)) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#6 |
+
–
/home/centos/kiselevjp/protected/modules/file/FileModule.php(16): CComponent->__call("onModuleCreate", array(CEvent)) 11 $this->setImport(array( 12 'file.models.*', 13 'file.components.*', 14 )); 15 16 Yii::app()->onModuleCreate(new CEvent($this)); 17 } 18 19 public function beforeControllerAction($controller, $action) 20 { 21 if(parent::beforeControllerAction($controller, $action)) |
#7 |
+
–
/home/centos/kiselevjp/protected/modules/file/FileModule.php(16): CWebApplication->onModuleCreate(CEvent) 11 $this->setImport(array( 12 'file.models.*', 13 'file.components.*', 14 )); 15 16 Yii::app()->onModuleCreate(new CEvent($this)); 17 } 18 19 public function beforeControllerAction($controller, $action) 20 { 21 if(parent::beforeControllerAction($controller, $action)) |
#8 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CModule.php(90): FileModule->init() 85 86 $this->configure($config); 87 $this->attachBehaviors($this->behaviors); 88 $this->preloadComponents(); 89 90 $this->init(); 91 } 92 93 /** 94 * Getter magic method. 95 * This method is overridden to support accessing application components |
#9 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/YiiBase.php(206): CModule->__construct("file", null, array()) 201 if($n===2) 202 $object=new $type($args[1]); 203 elseif($n===3) 204 $object=new $type($args[1],$args[2]); 205 elseif($n===4) 206 $object=new $type($args[1],$args[2],$args[3]); 207 else 208 { 209 unset($args[0]); 210 $class=new ReflectionClass($type); 211 // Note: ReflectionClass::newInstanceArgs() is available for PHP 5.1.3+ |
#10 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CModule.php(282): YiiBase::createComponent("file.FileModule", "file", null, array()) 277 { 278 Yii::trace("Loading \"$id\" module",'system.base.CModule'); 279 $class=$config['class']; 280 unset($config['class'], $config['enabled']); 281 if($this===Yii::app()) 282 $module=Yii::createComponent($class,$id,null,$config); 283 else 284 $module=Yii::createComponent($class,$this->getId().'/'.$id,$this,$config); 285 return $this->_modules[$id]=$module; 286 } 287 } |
#11 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/web/CWebApplication.php(337): CModule->getModule("file") 332 Yii::createComponent($owner->controllerMap[$id],$id,$owner===$this?null:$owner), 333 $this->parseActionParams($route), 334 ); 335 } 336 337 if(($module=$owner->getModule($id))!==null) 338 return $this->createController($route,$module); 339 340 $basePath=$owner->getControllerPath(); 341 $controllerID=''; 342 } |
#12 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/web/CWebApplication.php(276): CWebApplication->createController("file/file/imageResize") 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(); |
#13 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("file/file/imageResize") 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. |
#14 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/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 /** |
#15 |
+
–
/home/centos/kiselevjp/protected/components/WebApplicationEndBehavior.php(26): CApplication->run() 21 // Attach the changeModulePaths event handler 22 // and raise it. 23 $this->onModuleCreate = array($this, 'changeModulePaths'); 24 $this->onModuleCreate(new CEvent($this->owner)); 25 26 $this->owner->run(); // Run application. 27 } 28 29 // This event should be raised when CWebApplication 30 // or CWebModule instances are being initialized. 31 public function onModuleCreate($event) |
#16 |
unknown(0): WebApplicationEndBehavior->runEnd("front")
|
#17 |
+
–
/home/centos/kiselevjp/vendor/yiisoft/yii/framework/base/CComponent.php(261): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("front")) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#18 |
+
–
/home/centos/kiselevjp/index.php(14): CComponent->__call("runEnd", array("front")) 09 // Remove the following lines when in production mode 10 defined('YII_DEBUG') or define('YII_DEBUG', true); 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->runEnd('front'); 15 16 ?> |
#19 |
+
–
/home/centos/kiselevjp/index.php(14): CWebApplication->runEnd("front") 09 // Remove the following lines when in production mode 10 defined('YII_DEBUG') or define('YII_DEBUG', true); 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->runEnd('front'); 15 16 ?> |