/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/StoreGlobaltrend/controllersbase/ProductControllerBase.php(121)
109 110 $settings = ProductsSettings::getSettings(); 111 112 $userRatio = false; 113 114 if (!Yii::app()->user->isGuest) 115 { 116 $userRatio = ProductRatios::getUserRatioForProduct($this->modelProducts->id); 117 } 118 119 if ($this->modelProducts->status == Products::STATUS_DELETE) 120 { 121 throw new CHttpException(404, 'Товар не найден'); 122 } 123 124 $this->render('view', array( 125 'modelCataloguesProducts' => $modelCataloguesProducts, 126 'modelProducts' => $this->modelProducts, 127 'isSwitchedPoints' => $isSwitchedPoints, 128 'settings' => $settings, 129 'userRatio' => $userRatio 130 )); 131 } 132 133 protected function _getBreadcrumbsForCatalog($parentCatalogues)
#0 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/StoreGlobaltrend/controllers/ProductController.php(11): uti\StoreGlobaltrend\controllersbase\ProductControllerBase->View("119") 06 07 class ProductController extends ProductControllerBase 08 { 09 public function actionView($id) 10 { 11 $this->View($id); 12 } 13 } |
#1 |
unknown(0): uti\StoreGlobaltrend\controllers\ProductController->actionView("119")
|
#2 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(uti\StoreGlobaltrend\controllers\ProductController, array("119")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#3 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(uti\StoreGlobaltrend\controllers\ProductController, ReflectionMethod, array("id" => "119")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#4 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "119")) 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; |
#5 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/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(); |
#6 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/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); |
#7 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/cms/components/UTIWebApplication.php(161): CController->run("view") 156 $this->initSubSession(); 157 list($controller,$actionID)=$ca; 158 $oldController=$this->getController(); 159 $this->setController($controller); 160 $controller->init(); 161 $controller->run($actionID); 162 $this->setController($oldController); 163 } 164 elseif (($ca=$this->createController($this->params['errorRoute'])) !== NULL && $this->isModuleInstall('Page')) 165 { 166 $this->initSubSession(); |
#8 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/framework/web/CWebApplication.php(141): uti\cms\components\UTIWebApplication->runController("storeglobaltrend/product/view/id/119") 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. |
#9 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/vendor_current/uti/Libraries/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#10 |
+
–
/usr/home/globaltrend/globaltrendcompany.com/web/index.php(64): CApplication->run() 59 $config = UTIMap::mergeArrayAdvanced($config, require $config['basePath'] . '/../' . $package['name'] . '/config/main.php'); 60 } 61 } 62 } 63 64 Yii::createApplication('uti\cms\components\UTIWebApplication', $config)->run(); 65 66 function dg($var) 67 { 68 print '<pre>'; 69 print_r($var); |