/home/user1178644/www/overlock.by/protected/modules/page/views/catalog/index.php(129)
117 ?></div> 118 </div> 119 120 <?php if (isset($leftNav)){ ?> 121 122 <?php 123 $res = array(); 124 $first = true; 125 foreach ($leftNav as $item) 126 { 127 if ($first) { $first = false; } 128 $res[] = CHtml::link($item['name'], '/catalog/'.$item['path'] ); 129 foreach ($item['sub'] as $sub) 130 { 131 $res[] = CHtml::link($sub['name'], '/catalog/'.$item['path'].'/'.$sub['path'] ); 132 } 133 } 134 $sep = count ($res) / 4; 135 ?> 136 <nav class="bottom"> 137 138 <div class="_b-header-nav-dropdown-body"> 139 <div class="_b-header-nav-dropdown-body-h"> 140 <div class="_b-header-nav-dropdown-col"> 141 <div class="_b-header-nav-dropdown-list">
#0 |
+
–
/home/user1178644/www/framework/yiilite.php(3419): require("/home/user1178644/www/overlock.by/protected/modules/page/views/c...") 3414 $data=$_data_; 3415 if($_return_) 3416 { 3417 ob_start(); 3418 ob_implicit_flush(false); 3419 require($_viewFile_); 3420 return ob_get_clean(); 3421 } 3422 else 3423 require($_viewFile_); 3424 } |
#1 |
+
–
/home/user1178644/www/framework/yiilite.php(3398): CBaseController->renderInternal("/home/user1178644/www/overlock.by/protected/modules/page/views/c...", array("CATALOG_TEXT" => "", "onMainPage" => false, "model" => Goods, "leftNav" => array(array("name" => "Шпульки", "path" => "accessories/kupit-shpulki", "sub" => null)), ...), true) 3393 { 3394 $widgetCount=count($this->_widgetStack); 3395 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3396 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3397 else 3398 $content=$this->renderInternal($viewFile,$data,$return); 3399 if(count($this->_widgetStack)===$widgetCount) 3400 return $content; 3401 else 3402 { 3403 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/user1178644/www/framework/yiilite.php(3822): CBaseController->renderFile("/home/user1178644/www/overlock.by/protected/modules/page/views/c...", array("CATALOG_TEXT" => "", "onMainPage" => false, "model" => Goods, "leftNav" => array(array("name" => "Шпульки", "path" => "accessories/kupit-shpulki", "sub" => null)), ...), true) 3817 } 3818 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3819 { 3820 if(($viewFile=$this->getViewFile($view))!==false) 3821 { 3822 $output=$this->renderFile($viewFile,$data,true); 3823 if($processOutput) 3824 $output=$this->processOutput($output); 3825 if($return) 3826 return $output; 3827 else |
#3 |
+
–
/home/user1178644/www/overlock.by/protected/components/web/Controller.php(35): CController->renderPartial("index", array("CATALOG_TEXT" => "", "onMainPage" => false, "model" => Goods, "leftNav" => array(array("name" => "Шпульки", "path" => "accessories/kupit-shpulki", "sub" => null)), ...), true, false) 30 } 31 32 public function renderPartial($view, $data = null, $return = false, $processOutput = false) 33 { 34 $data = empty(Yii::app()->response->data) ? $data : array_merge(Yii::app()->response->data, (array) $data); 35 return parent::renderPartial($view, $data, $return, $processOutput); 36 } 37 public function beforeRender(){ 38 39 $paged = !(strpos( $_SERVER['REQUEST_URI'] , '?' ) === false ); 40 |
#4 |
+
–
/home/user1178644/www/framework/yiilite.php(3790): Controller->renderPartial("index", array("CATALOG_TEXT" => "", "onMainPage" => false, "model" => Goods, "leftNav" => array(array("name" => "Шпульки", "path" => "accessories/kupit-shpulki", "sub" => null)), ...), true) 3785 } 3786 public function render($view,$data=null,$return=false) 3787 { 3788 if($this->beforeRender($view)) 3789 { 3790 $output=$this->renderPartial($view,$data,true); 3791 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3792 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3793 $this->afterRender($view,$output); 3794 $output=$this->processOutput($output); 3795 if($return) |
#5 |
+
–
/home/user1178644/www/overlock.by/protected/modules/page/controllers/CatalogController.php(341): CController->render("index", array("CATALOG_TEXT" => "", "onMainPage" => false, "model" => Goods, "leftNav" => array(array("name" => "Шпульки", "path" => "accessories/kupit-shpulki", "sub" => null)), ...)) 336 Yii::app()->params['onMainPage'] = $onMainPage; 337 $vars['model'] = $model; 338 $vars['leftNav'] = $leftNav; 339 $vars['pclass'] = $pclass; 340 //print_r($vars); 341 $this->render('index', $vars ); 342 } 343 344 // Uncomment the following methods and override them if needed 345 /* 346 public function filters() |
#6 |
unknown(0): CatalogController->actionIndex("accessories", "kupit-shpulki", "", "")
|
#7 |
+
–
/home/user1178644/www/framework/yiilite.php(4039): ReflectionMethod->invokeArgs(CatalogController, array("accessories", "kupit-shpulki", "", "")) 4034 elseif($param->isDefaultValueAvailable()) 4035 $ps[]=$param->getDefaultValue(); 4036 else 4037 return false; 4038 } 4039 $method->invokeArgs($object,$ps); 4040 return true; 4041 } 4042 } 4043 class CInlineAction extends CAction 4044 { |
#8 |
+
–
/home/user1178644/www/framework/yiilite.php(4056): CAction->runWithParamsInternal(CatalogController, ReflectionMethod, array("group" => "accessories", "category" => "kupit-shpulki")) 4051 { 4052 $methodName='action'.$this->getId(); 4053 $controller=$this->getController(); 4054 $method=new ReflectionMethod($controller, $methodName); 4055 if($method->getNumberOfParameters()>0) 4056 return $this->runWithParamsInternal($controller, $method, $params); 4057 else 4058 return $controller->$methodName(); 4059 } 4060 } 4061 class CWebUser extends CApplicationComponent implements IWebUser |
#9 |
+
–
/home/user1178644/www/framework/yiilite.php(3570): CInlineAction->runWithParams(array("group" => "accessories", "category" => "kupit-shpulki")) 3565 { 3566 $priorAction=$this->_action; 3567 $this->_action=$action; 3568 if($this->beforeAction($action)) 3569 { 3570 if($action->runWithParams($this->getActionParams())===false) 3571 $this->invalidActionParams($action); 3572 else 3573 $this->afterAction($action); 3574 } 3575 $this->_action=$priorAction; |
#10 |
+
–
/home/user1178644/www/framework/yiilite.php(3555): CController->runAction(CInlineAction) 3550 $this->missingAction($actionID); 3551 } 3552 public function runActionWithFilters($action,$filters) 3553 { 3554 if(empty($filters)) 3555 $this->runAction($action); 3556 else 3557 { 3558 $priorAction=$this->_action; 3559 $this->_action=$action; 3560 CFilterChain::create($this,$action,$filters)->run(); |
#11 |
+
–
/home/user1178644/www/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array()) 3540 { 3541 if(($parent=$this->getModule())===null) 3542 $parent=Yii::app(); 3543 if($parent->beforeControllerAction($this,$action)) 3544 { 3545 $this->runActionWithFilters($action,$this->filters()); 3546 $parent->afterControllerAction($this,$action); 3547 } 3548 } 3549 else 3550 $this->missingAction($actionID); |
#12 |
+
–
/home/user1178644/www/framework/yiilite.php(1746): CController->run("index") 1741 { 1742 list($controller,$actionID)=$ca; 1743 $oldController=$this->_controller; 1744 $this->_controller=$controller; 1745 $controller->init(); 1746 $controller->run($actionID); 1747 $this->_controller=$oldController; 1748 } 1749 else 1750 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1751 array('{route}'=>$route===''?$this->defaultController:$route))); |
#13 |
+
–
/home/user1178644/www/framework/yiilite.php(1666): CWebApplication->runController("page/catalog/index") 1661 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1662 $_GET[$name]=$value; 1663 } 1664 else 1665 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1666 $this->runController($route); 1667 } 1668 protected function registerCoreComponents() 1669 { 1670 parent::registerCoreComponents(); 1671 $components=array( |
#14 |
+
–
/home/user1178644/www/framework/yiilite.php(1191): CWebApplication->processRequest() 1186 public function run() 1187 { 1188 if($this->hasEventHandler('onBeginRequest')) 1189 $this->onBeginRequest(new CEvent($this)); 1190 register_shutdown_function(array($this,'end'),0,false); 1191 $this->processRequest(); 1192 if($this->hasEventHandler('onEndRequest')) 1193 $this->onEndRequest(new CEvent($this)); 1194 } 1195 public function end($status=0,$exit=true) 1196 { |
#15 |
+
–
/home/user1178644/www/overlock.by/index.php(15): CApplication->run() 10 require_once(__DIR__.'/protected/config/env-local.php'); 11 12 13 require_once($yii); 14 15 Yii::createWebApplication($config)->run(); 16 //Yii::endProfile('blockID'); |