/home/www/salem-logistics/framework/web/CController.php(880)
868 { 869 if(($viewFile=$this->getViewFile($view))!==false) 870 { 871 $output=$this->renderFile($viewFile,$data,true); 872 if($processOutput) 873 $output=$this->processOutput($output); 874 if($return) 875 return $output; 876 else 877 echo $output; 878 } 879 else 880 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 881 array('{controller}'=>get_class($this), '{view}'=>$view))); 882 } 883 884 /** 885 * Renders a named clip with the supplied parameters. 886 * This is similar to directly accessing the {@link clips} property. 887 * The main difference is that it can take an array of named parameters 888 * which will replace the corresponding placeholders in the clip. 889 * @param string $name the name of the clip 890 * @param array $params an array of named parameters (name=>value) that should replace 891 * their corresponding placeholders in the clip 892 * @param boolean $return whether to return the clip content or echo it.
#0 |
+
–
/home/www/salem-logistics/framework/web/CController.php(784): CController->renderPartial("show", array("models" => null, "model" => news, "class" => columncate, "columncate" => array(columncate, columncate, columncate, columncate, ...)), true) 779 */ 780 public function render($view,$data=null,$return=false) 781 { 782 if($this->beforeRender($view)) 783 { 784 $output=$this->renderPartial($view,$data,true); 785 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 786 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 787 788 $this->afterRender($view,$output); 789 |
#1 |
+
–
/home/www/salem-logistics/protected/controllers/CsController.php(295): CController->render("show", array("models" => null, "model" => news, "class" => columncate, "columncate" => array(columncate, columncate, columncate, columncate, ...))) 290 $this->cate_id = $model->cate_id; 291 $class=$this->getcolumncate(); 292 $columncate=$this->showcate(); 293 $this->render('show',array('models'=>$models, 294 'model'=>$model,'class'=>$class,'columncate'=>$columncate 295 )); 296 } 297 298 public function getcolumncate(){ 299 return columncate::model()->findbyPk($this->cate_id); 300 } |
#2 |
+
–
/home/www/salem-logistics/framework/web/actions/CInlineAction.php(50): CsController->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 } |
#3 |
+
–
/home/www/salem-logistics/framework/web/CController.php(310): CInlineAction->runWithParams(array("id" => "30")) 305 { 306 $priorAction=$this->_action; 307 $this->_action=$action; 308 if($this->beforeAction($action)) 309 { 310 if($action->runWithParams($this->getActionParams())===false) 311 $this->invalidActionParams($action); 312 else 313 $this->afterAction($action); 314 } 315 $this->_action=$priorAction; |
#4 |
+
–
/home/www/salem-logistics/framework/web/CController.php(288): CController->runAction(CInlineAction) 283 * @see runAction 284 */ 285 public function runActionWithFilters($action,$filters) 286 { 287 if(empty($filters)) 288 $this->runAction($action); 289 else 290 { 291 $priorAction=$this->_action; 292 $this->_action=$action; 293 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/www/salem-logistics/framework/web/CController.php(267): CController->runActionWithFilters(CInlineAction, array()) 262 { 263 if(($parent=$this->getModule())===null) 264 $parent=Yii::app(); 265 if($parent->beforeControllerAction($this,$action)) 266 { 267 $this->runActionWithFilters($action,$this->filters()); 268 $parent->afterControllerAction($this,$action); 269 } 270 } 271 else 272 $this->missingAction($actionID); |
#6 |
+
–
/home/www/salem-logistics/framework/web/CWebApplication.php(276): CController->run("show") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/www/salem-logistics/framework/web/CWebApplication.php(135): CWebApplication->runController("cs/show") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/home/www/salem-logistics/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 /** |
#9 |
+
–
/home/www/salem-logistics/index.php(8): CApplication->run() 3 $yii=dirname(__FILE__).'/framework/yii.php'; 4 $config=dirname(__FILE__).'/protected/config/main.php'; 5 defined('YII_DEBUG') or define('YII_DEBUG',true); 6 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 7 require_once($yii); 8 Yii::createWebApplication($config)->run(); 9 ?> |