/www/users/HA95832/WEB/framework/web/CController.php(875)
863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else 872 echo $output; 873 } 874 else 875 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 876 array('{controller}'=>get_class($this), '{view}'=>$view))); 877 } 878 879 /** 880 * Renders dynamic content returned by the specified callback. 881 * This method is used together with {@link COutputCache}. Dynamic contents 882 * will always show as their latest state even if the content surrounding them is being cached. 883 * This is especially useful when caching pages that are mostly static but contain some small 884 * dynamic regions, such as username or current time. 885 * We can use this method to render these dynamic regions to ensure they are always up-to-date. 886 * 887 * The first parameter to this method should be a valid PHP callback, while the rest parameters
#0 |
+
–
/www/users/HA95832/WEB/www/protected/controllers/SortController.php(12): CController->renderPartial(null, array("info" => array("meta_title" => null))) 07 if(!is_numeric($id) || empty($id)){ 08 $this->newComClass('message')->Execute('参数有误!',Yii::app()->request->getHostInfo()); 09 } 10 $info=NewsSortModel::model()->findByPk($id); 11 $info['meta_title']=$info['meta_title']?$info['meta_title']:$info['SortName']; 12 $this->renderPartial($info['ShowStyle'],array('info'=>$info)); 13 } 14 15 public function actionSortList(){ 16 $Filtr=new Filtr(); 17 $id=$Filtr->data('num',Yii::app()->request->getQuery('id',0)); |
#1 |
+
–
/www/users/HA95832/WEB/framework/web/actions/CInlineAction.php(50): SortController->actionShow() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#2 |
+
–
/www/users/HA95832/WEB/framework/web/CController.php(300): CInlineAction->runWithParams(array("id" => "589")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#3 |
+
–
/www/users/HA95832/WEB/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/www/users/HA95832/WEB/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#5 |
+
–
/www/users/HA95832/WEB/framework/web/CWebApplication.php(329): CController->run("Show") 324 //print_r($ca); 325 list($controller,$actionID)=$ca; 326 $oldController=$this->_controller; 327 $this->_controller=$controller; 328 $controller->init(); 329 $controller->run($actionID); 330 $this->_controller=$oldController; 331 } 332 else 333 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 334 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/www/users/HA95832/WEB/framework/web/CWebApplication.php(121): CWebApplication->runController("Sort/Show/id/589") 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. |
#7 |
+
–
/www/users/HA95832/WEB/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#8 |
+
–
/www/users/HA95832/WEB/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 11 require_once($yii); 12 $app = Yii::createWebApplication($config); 13 14 $app->run(); |