/home/zakonbase/zakonbase.ru/protected/controllers/content/ActionBase.php(23)
11 $aId = Content::getId($_SERVER['REQUEST_URI']); 12 $id = $aId['base']; 13 } 14 $aCard = Content::getCard($id); 15 if (empty($aCard)) 16 Yii::app()->controller->redirect('/'); 17 $title = Content::getTitleBase($id); 18 if (empty($title)) 19 $title = $aCard['title']; 20 Yii::app()->controller->pageTitle = $title; 21 Yii::app()->controller->pageDescription = $title; 22 $oText = DocumentText::model()->findByPk($id); 23 $oText->dt_text = preg_replace('/([А-Я]{1}[а-я]{1})/u', ' $1', $oText->dt_text); 24 $oText->dt_text = preg_replace('/\s\s+/', ' ', $oText->dt_text); 25 $aTree = Content::getTreeBase($id); 26 $print = Yii::app()->request->getQuery('print'); 27 $pdf = Yii::app()->request->getQuery('pdf'); 28 $rtf = Yii::app()->request->getQuery('rtf'); 29 if ($print) { 30 Yii::app()->controller->layout = '/layouts/print'; 31 Yii::app()->controller->render('/content/base_print', array( 32 'aCard' => $aCard, 33 'oText' => $oText, 34 'aTree' => $aTree, 35 ));
#0 |
unknown(0): ActionBase->run("284621")
|
#1 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(3744): ReflectionMethod->invokeArgs(ActionBase, array("284621")) 3739 else if($param->isDefaultValueAvailable()) 3740 $ps[]=$param->getDefaultValue(); 3741 else 3742 return false; 3743 } 3744 $method->invokeArgs($object,$ps); 3745 return true; 3746 } 3747 } 3748 class CInlineAction extends CAction 3749 { |
#2 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(3720): CAction->runWithParamsInternal(ActionBase, ReflectionMethod, array("id" => "284621")) 3715 } 3716 public function runWithParams($params) 3717 { 3718 $method=new ReflectionMethod($this, 'run'); 3719 if($method->getNumberOfParameters()>0) 3720 return $this->runWithParamsInternal($this, $method, $params); 3721 else 3722 return $this->run(); 3723 } 3724 protected function runWithParamsInternal($object, $method, $params) 3725 { |
#3 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(3275): CAction->runWithParams(array("id" => "284621")) 3270 { 3271 $priorAction=$this->_action; 3272 $this->_action=$action; 3273 if($this->beforeAction($action)) 3274 { 3275 if($action->runWithParams($this->getActionParams())===false) 3276 $this->invalidActionParams($action); 3277 else 3278 $this->afterAction($action); 3279 } 3280 $this->_action=$priorAction; |
#4 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(3260): CController->runAction(ActionBase) 3255 $this->missingAction($actionID); 3256 } 3257 public function runActionWithFilters($action,$filters) 3258 { 3259 if(empty($filters)) 3260 $this->runAction($action); 3261 else 3262 { 3263 $priorAction=$this->_action; 3264 $this->_action=$action; 3265 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(3250): CController->runActionWithFilters(ActionBase, array()) 3245 { 3246 if(($parent=$this->getModule())===null) 3247 $parent=Yii::app(); 3248 if($parent->beforeControllerAction($this,$action)) 3249 { 3250 $this->runActionWithFilters($action,$this->filters()); 3251 $parent->afterControllerAction($this,$action); 3252 } 3253 } 3254 else 3255 $this->missingAction($actionID); |
#6 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(1689): CController->run("base") 1684 { 1685 list($controller,$actionID)=$ca; 1686 $oldController=$this->_controller; 1687 $this->_controller=$controller; 1688 $controller->init(); 1689 $controller->run($actionID); 1690 $this->_controller=$oldController; 1691 } 1692 else 1693 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1694 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/zakonbase/zakonbase.ru/yii/yiilite.php(1609): CWebApplication->runController("content/base") 1604 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1605 $_GET[$name]=$value; 1606 } 1607 else 1608 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1609 $this->runController($route); 1610 } 1611 protected function registerCoreComponents() 1612 { 1613 parent::registerCoreComponents(); 1614 $components=array( |
#8 |
+
–
/home/zakonbase/zakonbase.ru/yii/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 { |
#9 |
+
–
/home/zakonbase/zakonbase.ru/www/index.php(19): CApplication->run() 14 //} 15 16 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 17 18 require_once($yii); 19 Yii::createWebApplication($config)->run(); |