/var/local/yii1116/yiilite.php(4024)
4012 public function filterPostOnly($filterChain) 4013 { 4014 if(Yii::app()->getRequest()->getIsPostRequest()) 4015 $filterChain->run(); 4016 else 4017 throw new CHttpException(400,Yii::t('yii','Your request is invalid.')); 4018 } 4019 public function filterAjaxOnly($filterChain) 4020 { 4021 if(Yii::app()->getRequest()->getIsAjaxRequest()) 4022 $filterChain->run(); 4023 else 4024 throw new CHttpException(400,Yii::t('yii','Your request is invalid.')); 4025 } 4026 public function filterAccessControl($filterChain) 4027 { 4028 $filter=new CAccessControlFilter; 4029 $filter->setRules($this->accessRules()); 4030 $filter->filter($filterChain); 4031 } 4032 public function getPageState($name,$defaultValue=null) 4033 { 4034 if($this->_pageStates===null) 4035 $this->_pageStates=$this->loadPageStates(); 4036 return isset($this->_pageStates[$name])?$this->_pageStates[$name]:$defaultValue;
#0 |
+
–
/var/local/yii1116/yiilite.php(6937): CController->filterAjaxOnly(CFilterChain) 6932 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 6933 } 6934 public function filter($filterChain) 6935 { 6936 $method='filter'.$this->name; 6937 $filterChain->controller->$method($filterChain); 6938 } 6939 } 6940 class CAccessControlFilter extends CFilter 6941 { 6942 public $message; |
#1 |
+
–
/var/local/yii1116/yiilite.php(6892): CInlineFilter->filter(CFilterChain) 6887 public function run() 6888 { 6889 if($this->offsetExists($this->filterIndex)) 6890 { 6891 $filter=$this->itemAt($this->filterIndex++); 6892 $filter->filter($this); 6893 } 6894 else 6895 $this->controller->runAction($this->action); 6896 } 6897 } |
#2 |
+
–
/var/local/yii1116/yiilite.php(6904): CFilterChain->run() 6899 { 6900 public function filter($filterChain) 6901 { 6902 if($this->preFilter($filterChain)) 6903 { 6904 $filterChain->run(); 6905 $this->postFilter($filterChain); 6906 } 6907 } 6908 public function init() 6909 { |
#3 |
+
–
/var/local/yii1116/yiilite.php(6892): CFilter->filter(CFilterChain) 6887 public function run() 6888 { 6889 if($this->offsetExists($this->filterIndex)) 6890 { 6891 $filter=$this->itemAt($this->filterIndex++); 6892 $filter->filter($this); 6893 } 6894 else 6895 $this->controller->runAction($this->action); 6896 } 6897 } |
#4 |
+
–
/var/local/yii1116/yiilite.php(3642): CFilterChain->run() 3637 $this->runAction($action); 3638 else 3639 { 3640 $priorAction=$this->_action; 3641 $this->_action=$action; 3642 CFilterChain::create($this,$action,$filters)->run(); 3643 $this->_action=$priorAction; 3644 } 3645 } 3646 public function runAction($action) 3647 { |
#5 |
+
–
/var/local/yii1116/yiilite.php(3627): CController->runActionWithFilters(CInlineAction, array(array(0 => "DModuleFilter", "name" => "shop"), "ajaxOnly + add, clear, updateCount, getCount")) 3622 { 3623 if(($parent=$this->getModule())===null) 3624 $parent=Yii::app(); 3625 if($parent->beforeControllerAction($this,$action)) 3626 { 3627 $this->runActionWithFilters($action,$this->filters()); 3628 $parent->afterControllerAction($this,$action); 3629 } 3630 } 3631 else 3632 $this->missingAction($actionID); |
#6 |
+
–
/var/local/yii1116/yiilite.php(1761): CController->run("add") 1756 { 1757 list($controller,$actionID)=$ca; 1758 $oldController=$this->_controller; 1759 $this->_controller=$controller; 1760 $controller->init(); 1761 $controller->run($actionID); 1762 $this->_controller=$oldController; 1763 } 1764 else 1765 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1766 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/var/local/yii1116/yiilite.php(1681): CWebApplication->runController("dCart/add") 1676 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1677 $_GET[$name]=$value; 1678 } 1679 else 1680 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1681 $this->runController($route); 1682 } 1683 protected function registerCoreComponents() 1684 { 1685 parent::registerCoreComponents(); 1686 $components=array( |
#8 |
+
–
/var/local/yii1116/yiilite.php(1202): CWebApplication->processRequest() 1197 public function run() 1198 { 1199 if($this->hasEventHandler('onBeginRequest')) 1200 $this->onBeginRequest(new CEvent($this)); 1201 register_shutdown_function(array($this,'end'),0,false); 1202 $this->processRequest(); 1203 if($this->hasEventHandler('onEndRequest')) 1204 $this->onEndRequest(new CEvent($this)); 1205 } 1206 public function end($status=0,$exit=true) 1207 { |
#9 |
+
–
/var/www/minreag/data/www/minreag.ru/index.php(48): CApplication->run() 43 44 $config = dirname(__FILE__).'/protected/config/main.php'; 45 46 require_once($yii); 47 48 Yii::createWebApplication($config)->run(); 49 50 ob_end_flush(); |