/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(882)
870 { 871 if(($viewFile=$this->getViewFile($view))!==false) 872 { 873 $output=$this->renderFile($viewFile,$data,true); 874 if($processOutput) 875 $output=$this->processOutput($output); 876 if($return) 877 return $output; 878 else 879 echo $output; 880 } 881 else 882 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 883 array('{controller}'=>get_class($this), '{view}'=>$view))); 884 } 885 886 /** 887 * Renders a named clip with the supplied parameters. 888 * This is similar to directly accessing the {@link clips} property. 889 * The main difference is that it can take an array of named parameters 890 * which will replace the corresponding placeholders in the clip. 891 * @param string $name the name of the clip 892 * @param array $params an array of named parameters (name=>value) that should replace 893 * their corresponding placeholders in the clip 894 * @param boolean $return whether to return the clip content or echo it.
#0 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(786): CController->renderPartial("_allcomments", array("model" => Entity), true) 781 */ 782 public function render($view,$data=null,$return=false) 783 { 784 if($this->beforeRender($view)) 785 { 786 $output=$this->renderPartial($view,$data,true); 787 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 788 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 789 790 $this->afterRender($view,$output); 791 |
#1 |
+
–
/home/admin/web/hctraktor.ru/public_html/protected/modules/comments/controllers/CommentController.php(142): CController->render("_allcomments", array("model" => Entity)) 137 138 $this->model = $model; 139 140 $this->render(Y::theme('_allcomments'), array( 141 'model'=>$model, 142 )); 143 144 //Y::dump( $model ); 145 146 } 147 |
#2 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/actions/CInlineAction.php(50): CommentController->actionAll() 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/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(311): CInlineAction->runWithParams(array("classname" => "entity", "id" => "17677")) 306 //Y::dump($action); 307 $priorAction=$this->_action; 308 $this->_action=$action; 309 if($this->beforeAction($action)) 310 { 311 if($action->runWithParams($this->getActionParams())===false) 312 $this->invalidActionParams($action); 313 else 314 $this->afterAction($action); 315 } 316 $this->_action=$priorAction; |
#4 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#5 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#6 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(1149): CFilter->filter(CFilterChain) 1144 */ 1145 public function filterAccessControl($filterChain) 1146 { 1147 $filter=new CAccessControlFilter; 1148 $filter->setRules($this->accessRules()); 1149 $filter->filter($filterChain); 1150 } 1151 1152 /** 1153 * Returns a persistent page state value. 1154 * A page state is a variable that is persistent across POST requests of the same page. |
#7 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
#8 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#9 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(293): CFilterChain->run() 288 $this->runAction($action); 289 else 290 { 291 $priorAction=$this->_action; 292 $this->_action=$action; 293 CFilterChain::create($this,$action,$filters)->run(); 294 $this->_action=$priorAction; 295 } 296 } 297 298 /** |
#10 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array("accessControl", "ajaxOnly + PostComment, Delete, Approve")) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#11 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CWebApplication.php(276): CController->run("all") 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))); |
#12 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CWebApplication.php(135): CWebApplication->runController("comments/comment/all") 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. |
#13 |
+
–
/home/admin/web/hctraktor.ru/public_html/lib/yii/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 /** |
#14 |
+
–
/home/admin/web/hctraktor.ru/public_html/index.php(36): CApplication->run() 31 defined('APPDIR') or define('APPDIR', dirname(__FILE__) ); 32 33 require $yii; 34 require 'protected/components/SWebApplication.php'; 35 36 Yii::createApplication('SWebApplication', $config)->run(); 37 38 // if (ot_client_ip() == '95.78.157.185') { 39 // $CDbConnectionStats = CDbConnection::getStats(); 40 // print '<b>Общее количество запросов: '.$CDbConnectionStats[0].'</b><br>'; 41 // print '<b>Общее время выполнения запросов: '.$CDbConnectionStats[1].'</b>'; |