/home/www/uznaykak.ru/protected/controllers/PostsController.php(369)
357 'catName' => $findByPk0, 358 )); 359 } 360 361 public function actionViewEditorsBlog() { 362 $model = new Posts(); 363 $criteria = new CDbCriteria; 364 $criteria->with = 'category'; 365 $criteria->scopes = array('editors', 'visible'); 366 $criteria->order = 'id_p desc'; 367 $total = $model->count($criteria); 368 $pages = new CPagination($total); 369 $pages->pageSize = $limit; 370 $pages->applyLimit($criteria); 371 $result['pages'] = $pages; 372 $result['list'] = $model->findAll($criteria); 373 374 $this->layout = '//layouts/newmain'; 375 $this->render('index', array('list' => $result['list'], 'pages' => $result['pages'])); 376 } 377 378 public function actionTagsview($search) { 379 380 $model = new Posts(); 381 $criteria = new CDbCriteria;
#0 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(3720): PostsController->actionViewEditorsBlog() 3715 $controller=$this->getController(); 3716 $method=new ReflectionMethod($controller, $methodName); 3717 if($method->getNumberOfParameters()>0) 3718 return $this->runWithParamsInternal($controller, $method, $params); 3719 else 3720 return $controller->$methodName(); 3721 } 3722 } 3723 class CWebUser extends CApplicationComponent implements IWebUser 3724 { 3725 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#1 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(3223): CInlineAction->runWithParams(array()) 3218 { 3219 $priorAction=$this->_action; 3220 $this->_action=$action; 3221 if($this->beforeAction($action)) 3222 { 3223 if($action->runWithParams($this->getActionParams())===false) 3224 $this->invalidActionParams($action); 3225 else 3226 $this->afterAction($action); 3227 } 3228 $this->_action=$priorAction; |
#2 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(6118): CController->runAction(CInlineAction) 6113 { 6114 $filter=$this->itemAt($this->filterIndex++); 6115 $filter->filter($this); 6116 } 6117 else 6118 $this->controller->runAction($this->action); 6119 } 6120 } 6121 class CFilter extends CComponent implements IFilter 6122 { 6123 public function filter($filterChain) |
#3 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(6127): CFilterChain->run() 6122 { 6123 public function filter($filterChain) 6124 { 6125 if($this->preFilter($filterChain)) 6126 { 6127 $filterChain->run(); 6128 $this->postFilter($filterChain); 6129 } 6130 } 6131 public function init() 6132 { |
#4 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(3601): CFilter->filter(CFilterChain) 3596 } 3597 public function filterAccessControl($filterChain) 3598 { 3599 $filter=new CAccessControlFilter; 3600 $filter->setRules($this->accessRules()); 3601 $filter->filter($filterChain); 3602 } 3603 public function paginate($itemCount,$pageSize=null,$pageVar=null) 3604 { 3605 $pages=new CPagination($itemCount); 3606 if($pageSize!==null) |
#5 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(6160): CController->filterAccessControl(CFilterChain) 6155 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 6156 } 6157 public function filter($filterChain) 6158 { 6159 $method='filter'.$this->name; 6160 $filterChain->controller->$method($filterChain); 6161 } 6162 } 6163 class CAccessControlFilter extends CFilter 6164 { 6165 public $message; |
#6 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(6115): CInlineFilter->filter(CFilterChain) 6110 public function run() 6111 { 6112 if($this->offsetExists($this->filterIndex)) 6113 { 6114 $filter=$this->itemAt($this->filterIndex++); 6115 $filter->filter($this); 6116 } 6117 else 6118 $this->controller->runAction($this->action); 6119 } 6120 } |
#7 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(3213): CFilterChain->run() 3208 $this->runAction($action); 3209 else 3210 { 3211 $priorAction=$this->_action; 3212 $this->_action=$action; 3213 CFilterChain::create($this,$action,$filters)->run(); 3214 $this->_action=$priorAction; 3215 } 3216 } 3217 public function runAction($action) 3218 { |
#8 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(3198): CController->runActionWithFilters(CInlineAction, array("accessControl")) 3193 { 3194 if(($parent=$this->getModule())===null) 3195 $parent=Yii::app(); 3196 if($parent->beforeControllerAction($this,$action)) 3197 { 3198 $this->runActionWithFilters($action,$this->filters()); 3199 $parent->afterControllerAction($this,$action); 3200 } 3201 } 3202 else 3203 $this->missingAction($actionID); |
#9 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(1686): CController->run("viewEditorsBlog") 1681 { 1682 list($controller,$actionID)=$ca; 1683 $oldController=$this->_controller; 1684 $this->_controller=$controller; 1685 $controller->init(); 1686 $controller->run($actionID); 1687 $this->_controller=$oldController; 1688 } 1689 else 1690 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1691 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(1606): CWebApplication->runController("posts/viewEditorsBlog") 1601 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1602 $_GET[$name]=$value; 1603 } 1604 else 1605 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1606 $this->runController($route); 1607 } 1608 protected function registerCoreComponents() 1609 { 1610 parent::registerCoreComponents(); 1611 $components=array( |
#11 |
+
–
/home/www/uznaykak.ru/framework/yiilite.php(1135): CWebApplication->processRequest() 1130 } 1131 public function run() 1132 { 1133 if($this->hasEventHandler('onBeginRequest')) 1134 $this->onBeginRequest(new CEvent($this)); 1135 $this->processRequest(); 1136 if($this->hasEventHandler('onEndRequest')) 1137 $this->onEndRequest(new CEvent($this)); 1138 } 1139 public function end($status=0, $exit=true) 1140 { |
#12 |
+
–
/home/www/uznaykak.ru/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |