/home/c/cb69283/public_html/themes/classic/frontend/views/modules/catalog/default/views.php(33)
21 $catalogUrl = Yii::app()->createUrl('catalog/default/sort', array('type' => $firstEquipment->id)); 22 $this->breadcrumbs[Yii::t('app', 'По типу')] = $catalogUrl; 23 } 24 $firstEquipment = Equipment::model()->getFirst(); 25 $firstUrl = Yii::app()->createUrl('catalog/default/sort', array('type' => $firstEquipment->id)); 26 $this->breadcrumbs = array(Yii::t('app','Каталог продукции') => $firstUrl) + $this->breadcrumbs; 27 foreach ($title as $item) 28 { 29 if ($action!='producers'&&$item->parent_id==0&&count($title)>1) { 30 $this->breadcrumbs[$item->title] = Yii::app()->createUrl('catalog/default/sort', array($action=> $item->id)); 31 } 32 else 33 $this->breadcrumbs[] = $item->title; 34 } 35 ?> 36 37 <div class="container item_full_list long-width"> 38 <div class="equipment"> 39 <p><?php echo Yii::t('app', 'ОБОРУДОВАНИЕ'); ?>:</p> 40 <ul> 41 <?php 42 $active = array( 43 0 => '', 44 1 => '', 45 2 => ''
#0 |
+
–
/home/c/cb69283/public_html/framework/web/CBaseController.php(119): require("/home/c/cb69283/public_html/themes/classic/frontend/views/module...") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#1 |
+
–
/home/c/cb69283/public_html/framework/web/CBaseController.php(88): CBaseController->renderInternal("/home/c/cb69283/public_html/themes/classic/frontend/views/module...", array("model" => Entries, "block" => array("left" => array("type" => 1), "right" => array("industries" => 1, "producers" => 0)), "title" => array(null), "action" => "producers", ...), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/c/cb69283/public_html/framework/web/CController.php(866): CBaseController->renderFile("/home/c/cb69283/public_html/themes/classic/frontend/views/module...", array("model" => Entries, "block" => array("left" => array("type" => 1), "right" => array("industries" => 1, "producers" => 0)), "title" => array(null), "action" => "producers", ...), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#3 |
+
–
/home/c/cb69283/public_html/framework/web/CController.php(779): CController->renderPartial("views", array("model" => Entries, "block" => array("left" => array("type" => 1), "right" => array("industries" => 1, "producers" => 0)), "title" => array(null), "action" => "producers", ...), true) 774 */ 775 public function render($view,$data=null,$return=false) 776 { 777 if($this->beforeRender($view)) 778 { 779 $output=$this->renderPartial($view,$data,true); 780 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 781 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 782 783 $this->afterRender($view,$output); 784 |
#4 |
+
–
/home/c/cb69283/public_html/protected/modules/catalog/controllers/DefaultController.php(97): CController->render("views", array("model" => Entries, "block" => array("left" => array("type" => 1), "right" => array("industries" => 1, "producers" => 0)), "title" => array(null), "action" => "producers", ...)) 092 'block' => $block, 093 'title' => isset($title) ? $title : '', 094 'action' => isset($action) ? $action : '', 095 'category' => isset($category) ? $category : '', 096 'description' => $description 097 )); 098 } 099 } 100 101 public function actionSearch($view = null) 102 { |
#5 |
+
–
/home/c/cb69283/public_html/framework/web/actions/CInlineAction.php(50): DefaultController->actionSort() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#6 |
+
–
/home/c/cb69283/public_html/framework/web/CController.php(300): CInlineAction->runWithParams(array("producers" => "19", "lang" => "en")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#7 |
+
–
/home/c/cb69283/public_html/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#8 |
+
–
/home/c/cb69283/public_html/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#9 |
+
–
/home/c/cb69283/public_html/framework/web/CWebApplication.php(277): CController->run("sort") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/home/c/cb69283/public_html/framework/web/CWebApplication.php(136): CWebApplication->runController("catalog/default/sort") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#11 |
+
–
/home/c/cb69283/public_html/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#12 |
+
–
/home/c/cb69283/public_html/index.php(36): CApplication->run() 31 break; 32 } 33 ini_set('display_errors', 1); 34 ini_set('display_startup_errors', 1); 35 error_reporting(E_ALL); 36 Yii::createWebApplication($config)->run(); 37 38 |