/var/www/html/protected/libs/Twig/Template.php(279)
267 $e->setTemplateFile($this->getTemplateName()); 268 } 269 270 // this is mostly useful for Twig_Error_Loader exceptions 271 // see Twig_Error_Loader 272 if (false === $e->getTemplateLine()) { 273 $e->setTemplateLine(-1); 274 $e->guess(); 275 } 276 277 throw $e; 278 } catch (Exception $e) { 279 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e); 280 } 281 } 282 283 /** 284 * Auto-generated method to display the template with the given context. 285 * 286 * @param array $context An array of parameters to pass to the template 287 * @param array $blocks An array of blocks to pass to the template 288 */ 289 abstract protected function doDisplay(array $context, array $blocks = array()); 290 291 /**
#0 |
+
–
/var/www/html/protected/libs/Twig/Template.php(238): Twig_Template->displayWithErrorHandling(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array("breadcrumbs" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_breadcrumbs"), "content" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_content"))) 233 /** 234 * {@inheritdoc} 235 */ 236 public function display(array $context, array $blocks = array()) 237 { 238 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 239 } 240 241 /** 242 * {@inheritdoc} 243 */ |
#1 |
+
–
/var/www/html/protected/runtime/twig_cache/b1/f1/7ba9c5b4daaf60dbb2a4261aded7.php(27): Twig_Template->display(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array("breadcrumbs" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_breadcrumbs"), "content" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_content"))) 22 23 protected function doDisplay(array $context, array $blocks = array()) 24 { 25 // line 3 26 $context["pageTitle"] = "Документы"; 27 $this->parent->display($context, array_merge($this->blocks, $blocks)); 28 } 29 30 // line 5 31 public function block_breadcrumbs($context, array $blocks = array()) 32 { |
#2 |
+
–
/var/www/html/protected/libs/Twig/Template.php(264): __TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7->doDisplay(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array()) 259 } 260 261 protected function displayWithErrorHandling(array $context, array $blocks = array()) 262 { 263 try { 264 $this->doDisplay($context, $blocks); 265 } catch (Twig_Error $e) { 266 if (!$e->getTemplateFile()) { 267 $e->setTemplateFile($this->getTemplateName()); 268 } 269 |
#3 |
+
–
/var/www/html/protected/libs/Twig/Template.php(238): Twig_Template->displayWithErrorHandling(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array()) 233 /** 234 * {@inheritdoc} 235 */ 236 public function display(array $context, array $blocks = array()) 237 { 238 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 239 } 240 241 /** 242 * {@inheritdoc} 243 */ |
#4 |
+
–
/var/www/html/protected/libs/Twig/Template.php(249): Twig_Template->display(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...)) 244 public function render(array $context) 245 { 246 $level = ob_get_level(); 247 ob_start(); 248 try { 249 $this->display($context); 250 } catch (Exception $e) { 251 while (ob_get_level() > $level) { 252 ob_end_clean(); 253 } 254 |
#5 |
+
–
/var/www/html/protected/extensions/ETwigViewRenderer.php(146): Twig_Template->render(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...)) 141 { 142 // current controller properties will be accessible as {{ this.property }} 143 $data['this'] = $context; 144 145 $sourceFile = substr($sourceFile, $this->_basePathLength); 146 $template = $this->_twig->loadTemplate($sourceFile)->render($data); 147 148 if ($return) { 149 return $template; 150 } 151 |
#6 |
+
–
/var/www/html/protected/libs/framework/web/CBaseController.php(93): ETwigViewRenderer->renderFile(SiteController, "/var/www/html/protected/views/site/documentsListView.twig", array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...)), true) 88 */ 89 public function renderFile($viewFile,$data=null,$return=false) 90 { 91 $widgetCount=count($this->_widgetStack); 92 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 93 $content=$renderer->renderFile($this,$viewFile,$data,$return); 94 else 95 $content=$this->renderInternal($viewFile,$data,$return); 96 if(count($this->_widgetStack)===$widgetCount) 97 return $content; 98 else |
#7 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(869): CBaseController->renderFile("/var/www/html/protected/views/site/documentsListView.twig", array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...)), 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 |
#8 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(782): CController->renderPartial("documentsListView", array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...)), true) 777 */ 778 public function render($view,$data=null,$return=false) 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 |
#9 |
+
–
/var/www/html/protected/controllers/SiteController.php(922): CController->render("documentsListView", array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...))) 917 $this->render('documentsListView', [ 918 'modelsList' => $modelsList, 919 'pagination' => Helpers::pagination($page, $perPage, $count), 920 'congressesList' => $congressesList, 921 'lastNews' => $lastNews, 922 ]); 923 } 924 925 public function actionDocumentsListForReadView() 926 { 927 $page = max(1, (int) array_get($_GET, 'page')); |
#10 |
+
–
/var/www/html/protected/libs/framework/web/actions/CInlineAction.php(49): SiteController->actionDocumentsListView() 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 } |
#11 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(308): CInlineAction->runWithParams(array("page" => "2")) 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; |
#12 |
+
–
/var/www/html/protected/libs/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(); |
#13 |
+
–
/var/www/html/protected/libs/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); |
#14 |
+
–
/var/www/html/protected/libs/framework/web/CWebApplication.php(282): CController->run("documentsListView") 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))); |
#15 |
+
–
/var/www/html/protected/libs/framework/web/CWebApplication.php(141): CWebApplication->runController("site/documentsListView") 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. |
#16 |
+
–
/var/www/html/protected/libs/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 /** |
#17 |
+
–
/var/www/html/index.php(17): CApplication->run() 12 defined('YII_DEBUG') or define('YII_DEBUG', Config::$debug); 13 14 require_once ROOT_PATH . '/protected/libs/framework/yii.php' ; 15 $config = ROOT_PATH . '/configs/yii.php'; 16 17 Yii::createWebApplication($config)->run(); |