/var/www/html/protected/views/budget/expenses_industry2018.php(44)
32 'Национальная оборона': 'Прочие расходы', 33 'Национальная безопасность и правоохранительная деятельность': 'Прочие расходы', 34 'Охрана окружающей среды': 'Прочие расходы', 35 'Физическая культура и спорт': 'Прочие расходы', 36 'Обслуживание государственного и муниципального долга': 'Прочие расходы' 37 } 38 </script> 39 <?php 40 $chart_data = array(); 41 foreach($industries as $key => $industry) { 42 if($key != 0) { 43 $chart_data[2018][] = array($industry[1], $industry[2]); 44 $chart_data[2019][] = array($industry[1], $industry[3]); 45 $chart_data[2020][] = array($industry[1], $industry[4]); 46 } 47 } 48 49 function mySort($a, $b) 50 { 51 if($a['0'] == $b['0']) 52 return 0; 53 if($a['0'] < $b['0']) 54 return -1; 55 else 56 return 1;
#0 |
+
–
/var/www/html/framework/web/CBaseController.php(126): require("/var/www/html/protected/views/budget/expenses_industry2018.php") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/var/www/html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/html/protected/views/budget/expenses_industry2018.php", array("industries" => array(array("0600", "ОХРАНА ОКРУЖАЮЩЕЙ СРЕДЫ", 137.04, 130.19, ...), array("0601", "Экологический контроль", 3.46, 3.46, ...), array("0603", "Охрана объектов растительного и жи...", 59.22, 54.76, ...), array("0604", "Прикладные научные исследования в ...", 20), ...)), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/var/www/html/framework/web/CController.php(869): CBaseController->renderFile("/var/www/html/protected/views/budget/expenses_industry2018.php", array("industries" => array(array("0600", "ОХРАНА ОКРУЖАЮЩЕЙ СРЕДЫ", 137.04, 130.19, ...), array("0601", "Экологический контроль", 3.46, 3.46, ...), array("0603", "Охрана объектов растительного и жи...", 59.22, 54.76, ...), array("0604", "Прикладные научные исследования в ...", 20), ...)), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#3 |
+
–
/var/www/html/protected/components/BaseController.php(191): CController->renderPartial("/budget/expenses_industry2018", array("industries" => array(array("0600", "ОХРАНА ОКРУЖАЮЩЕЙ СРЕДЫ", 137.04, 130.19, ...), array("0601", "Экологический контроль", 3.46, 3.46, ...), array("0603", "Охрана объектов растительного и жи...", 59.22, 54.76, ...), array("0604", "Прикладные научные исследования в ...", 20), ...)), false, false) 186 { 187 // if (isset($_GET['special']) && strpos($view, "special/") === false) { 188 // $view = '/special/' . $view; 189 // } 190 191 return parent::renderPartial($view, $data, $return, $processOutput); 192 } 193 194 protected function _render404() { 195 $this->content = 'Страница находится в разработке'; 196 $this->render($this->pageConstruct); |
#4 |
+
–
/var/www/html/protected/views/layouts/budgetLayout.php(78): BaseController->renderPartial("/budget/expenses_industry2018", array("industries" => array(array("0600", "ОХРАНА ОКРУЖАЮЩЕЙ СРЕДЫ", 137.04, 130.19, ...), array("0601", "Экологический контроль", 3.46, 3.46, ...), array("0603", "Охрана объектов растительного и жи...", 59.22, 54.76, ...), array("0604", "Прикладные научные исследования в ...", 20), ...))) 73 <section class="content gap_50" style="<?php echo (!isset($this->hideLeftMenu) || !$this->hideLeftMenu) ? 'margin-left: 310px;' : '';?>"> 74 <?php 75 if($this->content) 76 echo $this->content; 77 if($this->PartialContent) 78 $this->renderPartial($this->PartialContent, $this->GetViewData($this->PartialContent)); 79 ?> 80 </section> 81 </div> 82 </div> 83 <?php $this->renderPartial('/layouts/footer') ?> |
#5 |
+
–
/var/www/html/framework/web/CBaseController.php(126): require("/var/www/html/protected/views/layouts/budgetLayout.php") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#6 |
+
–
/var/www/html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/html/protected/views/layouts/budgetLayout.php", array("content" => "Страница в разработке"), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#7 |
+
–
/var/www/html/framework/web/CController.php(784): CBaseController->renderFile("/var/www/html/protected/views/layouts/budgetLayout.php", array("content" => "Страница в разработке"), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#8 |
+
–
/var/www/html/protected/components/BaseController.php(182): CController->render("/site/index", null, false) 177 { 178 // if (isset($_GET['special'])) { 179 // $view = '/special/' . $view; 180 // } 181 182 return parent::render($view, $data, $return); 183 } 184 185 public function renderPartial($view, $data=null, $return=false, $processOutput=false) 186 { 187 // if (isset($_GET['special']) && strpos($view, "special/") === false) { |
#9 |
+
–
/var/www/html/protected/components/BaseController.php(173): BaseController->render("/site/index") 168 // $viewName = '/special/' . $viewName; 169 // } 170 171 $this->PartialContent = $viewName; 172 $this->ViewData[$viewName] = $data; 173 return $this->render('/site/index'); 174 } 175 176 public function render($view,$data=null,$return=false) 177 { 178 // if (isset($_GET['special'])) { |
#10 |
+
–
/var/www/html/protected/controllers/BudgetController.php(1430): BaseController->renderDefaultLayout("/budget/expenses_industry2018", array("industries" => array(array("0600", "ОХРАНА ОКРУЖАЮЩЕЙ СРЕДЫ", 137.04, 130.19, ...), array("0601", "Экологический контроль", 3.46, 3.46, ...), array("0603", "Охрана объектов растительного и жи...", 59.22, 54.76, ...), array("0604", "Прикладные научные исследования в ...", 20), ...))) 1425 ':year' => 2018, 1426 ':sub_code_like' => $sub_code . '%', 1427 ] 1428 ); 1429 1430 $this->renderDefaultLayout('/budget/expenses_industry2018', ['industries' => $industries]); 1431 } 1432 1433 public function actionExpenses_industry2019() 1434 { 1435 $this->hideLeftMenu = true; |
#11 |
+
–
/var/www/html/framework/web/actions/CInlineAction.php(49): BudgetController->actionExpenses_industry2018() 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 } |
#12 |
+
–
/var/www/html/framework/web/CController.php(308): CInlineAction->runWithParams(array("code" => "0600", "year" => "2018")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#13 |
+
–
/var/www/html/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#14 |
+
–
/var/www/html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#15 |
+
–
/var/www/html/framework/web/CWebApplication.php(282): CController->run("expenses_industry2018") 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))); |
#16 |
+
–
/var/www/html/framework/web/CWebApplication.php(141): CWebApplication->runController("budget/expenses_industry2018/code/0600/year/2018") 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. |
#17 |
+
–
/var/www/html/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 /** |
#18 |
+
–
/var/www/html/index.php(29): CApplication->run() 24 25 $yii = 'framework/yii' . (true || $isDevEnv ? '' : 'lite') . '.php'; 26 defined('YII_DEBUG') or define('YII_DEBUG', $isDevEnv or false); 27 28 require_once($yii); 29 Yii::createWebApplication($configFile)->run(); |