/var/www/protected/modules/board/behaviors/BBoardRules.php(23)
11 12 $user = MUser::model()->find('username=?',array($username)); 13 if($user) 14 { 15 if($url) 16 { 17 $board = MBoard::model()->find('userId=? AND url=?', array( 18 $user->id, $url 19 )); 20 if($board) 21 return app()->createController('board/view/id/'.$board->id,$owner); 22 } 23 if($items[1]==1 AND $user->id == app()->user->id) 24 {//private 25 return app()->createController('board/list/id/'.$user->id.'/private/1',$owner); 26 } 27 else 28 {//public 29 return app()->createController('board/list/id/'.$user->id.'/private/0',$owner); 30 } 31 } 32 return; 33 } 34 } 35 public function afterUrlRules($rules)
#0 |
unknown(0): BBoardRules->afterCreateController("Robelu70", null, null)
|
#1 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(108): call_user_func_array(array(BBoardRules, "aftercreateController"), array("Robelu70", null, "result" => null)) 103 if($this->_b!==null) 104 { 105 reset($this->_b); 106 foreach($this->_b as $object) 107 if($object->getEnabled() && method_exists($object,'after'.$name)) 108 if(($after = call_user_func_array(array($object,'after'.$name), $parameters))!==null) 109 $parameters['result'] = $result = $after; 110 } 111 112 return $result; 113 } |
#2 |
+
–
/var/www/framework/uniprogy/framework/yii/web/UWebApplication.php(66): UWorklet->__call("createController", array("Robelu70", null)) 61 if($ca = parent::createController($route,$owner)) 62 return $ca; 63 if($owner) 64 return parent::createController('default/'.substr($route,0,-1),$owner); 65 else 66 return wm()->get(wm()->getInitialWorklet())->createController($route,$owner); 67 } 68 69 /** 70 * @param string locale ID (e.g. en_US). 71 * @return ULocale the locale instance |
#3 |
+
–
/var/www/framework/uniprogy/framework/yii/web/UWebApplication.php(66): WBaseInit->createController("Robelu70", null) 61 if($ca = parent::createController($route,$owner)) 62 return $ca; 63 if($owner) 64 return parent::createController('default/'.substr($route,0,-1),$owner); 65 else 66 return wm()->get(wm()->getInitialWorklet())->createController($route,$owner); 67 } 68 69 /** 70 * @param string locale ID (e.g. en_US). 71 * @return ULocale the locale instance |
#4 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(271): UWebApplication->createController("Robelu70") 266 * @param string $route the route of the current request. See {@link createController} for more details. 267 * @throws CHttpException if the controller could not be created. 268 */ 269 public function runController($route) 270 { 271 if(($ca=$this->createController($route))!==null) 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); |
#5 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("Robelu70") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#6 |
+
–
/var/www/framework/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#7 |
+
–
/var/www/index.php(15): CApplication->run() 10 // ini_set('display_errors', 'Off'); 11 12 require_once($yii); 13 require_once(dirname(__FILE__).'/protected/components/UApp.php'); 14 15 Yii::createApplication('UApp',$config)->run(); |