/data/www/eurokontext.sk/sub/2017/protected/runtime/smarty/compiled/34b07973028e695a4226cbddca2e239be2325d2e.file.index.tpl.php(36)
24 'performanceTypes' => 0, 25 'Yii' => 0, 26 'performance' => 0, 27 'date' => 0, 28 ), 29 'has_nocache_code' => false, 30 ),false); /*/%%SmartyHeaderCode%%*/?> 31 <?php if ($_valid && !is_callable('content_5a98eec8ad99d5_69703634')) {function content_5a98eec8ad99d5_69703634($_smarty_tpl) {?><?php if (!is_callable('smarty_function_t')) include '/data/www/eurokontext.sk/sub/2017/protected/extensions/yiiext/renderers/smarty/plugins/function.t.php'; 32 if (!is_callable('smarty_function_createUrl')) include '/data/www/eurokontext.sk/sub/2017/protected/extensions/codelessmess/smarty/plugins/function.createUrl.php'; 33 if (!is_callable('smarty_modifier_truncate')) include '/data/www/eurokontext.sk/sub/2017/protected/vendor/Smarty/plugins/modifier.truncate.php'; 34 ?><?php $_smarty_tpl->_capture_stack[0][] = array("headerContent", null, null); ob_start(); ?> 35 <div class="header-title-buttons hidden-xs"> 36 <?php if (count($_smarty_tpl->tpl_vars['performances']->value[$_smarty_tpl->tpl_vars['type']->value])>0){?> 37 <?php $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['type']->_loop = false; 38 $_from = $_smarty_tpl->tpl_vars['performanceTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} 39 foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value){ 40 $_smarty_tpl->tpl_vars['type']->_loop = true; 41 ?> 42 <a href="#<?php echo $_smarty_tpl->tpl_vars['type']->value;?> 43 " class="btn btn-default"><?php echo smarty_function_t(array('text'=>$_smarty_tpl->tpl_vars['type']->value,'cat'=>"performance"),$_smarty_tpl);?> 44 </a> 45 <?php } ?> 46 <?php }?> 47 </div> 48 <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
#0 |
+
–
/data/www/eurokontext.sk/sub/2017/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_5a98eec8ad99d5_69703634(Smarty_Internal_Template) 175 } 176 array_unshift($_template->_capture_stack,array()); 177 // 178 // render compiled template 179 // 180 $_template->properties['unifunc']($_template); 181 // any unclosed {capture} tags ? 182 if (isset($_template->_capture_stack[0][0])) { 183 $_template->capture_error(); 184 } 185 array_shift($_template->_capture_stack); |
#1 |
+
–
/data/www/eurokontext.sk/sub/2017/protected/extensions/yiiext/renderers/smarty/ESmartyViewRenderer.php(276): Smarty_Internal_TemplateBase->fetch() 271 /** @var Smarty_Internal_Template $template */ 272 $template = $this->getSmarty()->createTemplate($sourceFile, null, null, $data, true); 273 274 // render or return 275 if($return) 276 return $template->fetch(); 277 else 278 $template->display(); 279 } 280 281 /** |
#2 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CBaseController.php(93): ESmartyViewRenderer->renderFile(PerformanceController, "/data/www/eurokontext.sk/sub/2017/protected/views/performance/in...", array("performanceTypes" => array("drama", "opera", "ballet"), "performances" => array("drama" => array(Performance, Performance, Performance, Performance, ...), "opera" => array(), "ballet" => array()), "this" => PerformanceController, "Yii" => CWebApplication, ...), 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 |
#3 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CController.php(869): CBaseController->renderFile("/data/www/eurokontext.sk/sub/2017/protected/views/performance/in...", array("performanceTypes" => array("drama", "opera", "ballet"), "performances" => array("drama" => array(Performance, Performance, Performance, Performance, ...), "opera" => array(), "ballet" => array())), 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 |
#4 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CController.php(782): CController->renderPartial("index", array("performanceTypes" => array("drama", "opera", "ballet"), "performances" => array("drama" => array(Performance, Performance, Performance, Performance, ...), "opera" => array(), "ballet" => array())), 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 |
#5 |
+
–
/data/www/eurokontext.sk/sub/2017/protected/controllers/PerformanceController.php(32): CController->render("index", array("performanceTypes" => array("drama", "opera", "ballet"), "performances" => array("drama" => array(Performance, Performance, Performance, Performance, ...), "opera" => array(), "ballet" => array()))) 27 $performancesByType[$performance->type][] = $performance; 28 } 29 30 $this->render('index', array( 31 'performanceTypes' => $performanceTypes, 32 'performances' => $performancesByType, 33 )); 34 } 35 36 public function actionView($slug) 37 { |
#6 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/actions/CInlineAction.php(49): PerformanceController->actionIndex() 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 } |
#7 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CController.php(308): CInlineAction->runWithParams(array("lang" => "en")) 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; |
#8 |
+
–
/data/www/eurokontext.sk/sub/2017/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(); |
#9 |
+
–
/data/www/eurokontext.sk/sub/2017/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); |
#10 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#11 |
+
–
/data/www/eurokontext.sk/sub/2017/framework/web/CWebApplication.php(141): CWebApplication->runController("performance/index") 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. |
#12 |
+
–
/data/www/eurokontext.sk/sub/2017/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 /** |
#13 |
+
–
/data/www/eurokontext.sk/sub/2017/index.php(18): CApplication->run() 13 14 // $config=dirname(__FILE__).'/protected/config/dev.php'; 15 //} 16 17 require_once($yii); 18 Yii::createWebApplication($config)->run(); |