/var/www/hosts/framework/web/CController.php(883)
871 { 872 if(($viewFile=$this->getViewFile($view))!==false) 873 { 874 $output=$this->renderFile($viewFile,$data,true); 875 if($processOutput) 876 $output=$this->processOutput($output); 877 if($return) 878 return $output; 879 else 880 echo $output; 881 } 882 else 883 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 884 array('{controller}'=>get_class($this), '{view}'=>$view))); 885 } 886 887 /** 888 * Renders a named clip with the supplied parameters. 889 * This is similar to directly accessing the {@link clips} property. 890 * The main difference is that it can take an array of named parameters 891 * which will replace the corresponding placeholders in the clip. 892 * @param string $name the name of the clip 893 * @param array $params an array of named parameters (name=>value) that should replace 894 * their corresponding placeholders in the clip 895 * @param boolean $return whether to return the clip content or echo it.
| #0 |
+
–
/var/www/hosts/lk.usoft.ru/protected/modules/navigator/controllers/PagesController.php(76): CController->renderPartial() 71 public function actionTemplated($view) 72 { 73 $page = $this->prepare(); 74 75 if ($view) { 76 $content = $this->renderPartial('templates/' . $view, false, true); 77 $this->render('//common/page', array('content' => $page['page_text'] . $content, 'page' => $page)); 78 } 79 80 } 81 |
| #1 |
unknown(0): PagesController->actionTemplated()
|
| #2 |
+
–
/var/www/hosts/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs() 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
| #3 |
+
–
/var/www/hosts/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal() 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
| #4 |
+
–
/var/www/hosts/framework/web/CController.php(312): CInlineAction->runWithParams() 307 $priorAction=$this->_action; 308 $this->_action=$action; 309 310 if ($this->beforeAction($action)) { 311 312 if ($action->runWithParams($this->getActionParams())===false) { 313 $this->invalidActionParams($action); 314 } else { 315 $this->afterAction($action); 316 } 317 } |
| #5 |
+
–
/var/www/hosts/framework/web/filters/CFilterChain.php(133): CController->runAction() 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
| #6 |
+
–
/var/www/hosts/framework/web/CController.php(294): CFilterChain->run() 289 if(empty($filters)) { 290 $this->runAction($action); 291 } else { 292 $priorAction=$this->_action; 293 $this->_action=$action; 294 CFilterChain::create($this,$action,$filters)->run(); 295 $this->_action=$priorAction; 296 } 297 } 298 299 /** |
| #7 |
+
–
/var/www/hosts/framework/web/CController.php(268): CController->runActionWithFilters() 263 if (($parent=$this->getModule())===null) { 264 $parent=Yii::app(); 265 } 266 267 if ($parent->beforeControllerAction($this,$action)) { 268 $this->runActionWithFilters($action,$this->filters()); 269 $parent->afterControllerAction($this,$action); 270 } 271 } else { 272 $this->missingAction($actionID); 273 } |
| #8 |
+
–
/var/www/hosts/framework/web/CWebApplication.php(282): CController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #9 |
+
–
/var/www/hosts/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
| #10 |
+
–
/var/www/hosts/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 /** |
| #11 |
+
–
/var/www/hosts/lk.usoft.ru/index.php(58): CApplication->run() 53 //Yii::setPathOfAlias('templates', $dirname_file .DIRECTORY_SEPARATOR.'templates'); 54 Yii::setPathOfAlias('core',INDEX_DIR.DIRECTORY_SEPARATOR.'core'); 55 require_once(__DIR__.DIRECTORY_SEPARATOR.'protected' .DIRECTORY_SEPARATOR.'vendors' .DIRECTORY_SEPARATOR.'Loader.php'); 56 Yii::registerAutoloader(array('Loader','systemMainAutoload')); 57 58 Yii::createWebApplication($config_yii_path)->run(); |