/data/www/trade/libs/yii/base/CComponent.php(266)
254 public function __call($name,$parameters) 255 { 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', 267 array('{class}'=>get_class($this), '{name}'=>$name))); 268 } 269 270 /** 271 * Returns the named behavior object. 272 * The name 'asa' stands for 'as a'. 273 * @param string $behavior the behavior name 274 * @return IBehavior the behavior object, or null if the behavior does not exist 275 */ 276 public function asa($behavior) 277 { 278 return isset($this->_m[$behavior]) ? $this->_m[$behavior] : null;
| #0 |
+
–
/data/www/trade/tradeweb/protected/services/CacheService.php(236): CComponent->__call("db", array("28725")) 231 Yii::beginProfile( "getCustomProductAllInfo:" . count( $pid ) ); 232 $reg = Myt_Reg::instance(); 233 if ($reg->isDownline) { 234 $db = Yii::app()->dbdownline($reg->company->id); 235 } else { 236 $db = Yii::app()->db($reg->company->id); 237 } 238 239 ////////////////////////////////////// 240 // 合并入口参数和缺省参数 241 ////////////////////////////////////// |
| #1 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(6709): CacheService::getProductAllInfoCache(array("10300279", "10361935", "10501216"), array()) 6704 function getCustomProductAllInfo( $pid, 6705 $params = array() ) 6706 { 6707 $reg = Myt_Reg::instance(); 6708 6709 return CacheService::getProductAllInfoCache($pid, $params); 6710 6711 6712 Yii::trace( __CLASS__ . "::" . __FUNCTION__ . "()" ); 6713 Yii::trace( print_r( $pid, TRUE ) ); 6714 Yii::trace( print_r( $params, TRUE ) ); |
| #2 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(6513): BaseController->getCustomProductAllInfo(array("10300279", "10361935", "10501216"), array()) 6508 6509 if ( $params[ 'needDetails' ] === TRUE ) { 6510 $params[ 'needDetails' ] = FALSE; 6511 } 6512 6513 $productInfos = $this->getCustomProductAllInfo( $pid, $params ); 6514 6515 if ( $params[ 'needDetails' ] === FALSE ) { 6516 $productDetails = ProductsController::getProductDetail( $pid, 5, 4 ); 6517 foreach ( $productInfos as & $productInfo ) { 6518 $productInfo[ 'details' ] = !empty($productDetails[$productInfo[ 'id' ]]) ? $productDetails[$productInfo[ 'id' ]] : array() ; |
| #3 |
+
–
/data/www/trade/tradeweb/protected/widgets/n_product_point.php(34): BaseController->getCustomProductBriefInfo(array("10300279", "10361935", "10501216")) 29 } 30 } 31 } 32 33 $hotProductList = array_slice($hotproductlist, 0, $num); 34 $data['hotproductlist'] = Yii::app()->getController()->getCustomProductBriefInfo($hotProductList); 35 36 $this->render($this->view, $data); 37 } 38 } |
| #4 |
+
–
/data/www/trade/libs/yii/web/CBaseController.php(167): n_product_point->run() 162 if($captureOutput) 163 { 164 ob_start(); 165 ob_implicit_flush(false); 166 $widget=$this->createWidget($className,$properties); 167 $widget->run(); 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); |
| #5 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(3125): CBaseController->widget("n_product_point", array(), true) 3120 $widget = substr( $className, 0, strpos( $className, '-' ) ); 3121 } else { 3122 $widget = $className; 3123 } 3124 3125 $output = parent::widget( $widget, $properties, TRUE ); 3126 3127 // 手动调用afterRender()的操作 3128 $this->afterRender( $className, $output ); 3129 3130 echo $output; |
| #6 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(3243): BaseController->widgetCustomTpl("n_product_point-250360", array(), false) 3238 3239 // 只有在vps环境,Yii::app()->params['ssi'] 才为 TRUE 3240 3241 if ( Yii::app()->params['ssi'] && 3242 (in_array($reg->company->color, [SiteTpl::CUSTOM_TPL,SiteTpl::CUSTOM_TPL_NEW,SiteTpl::CUSTOM_TPL_UNIT,SiteTpl::CUSTOM_TPL_AI])) && ! $reg->isMobile ) { 3243 return $this->widgetCustomTpl( $className, $properties, $captureOutput ); 3244 } 3245 3246 if ( ( Yii::app()->params['ssi'] && $reg->company->color != SiteTpl::CUSTOM_TPL 3247 ) || // 老PC模板 3248 ( Yii::app()->params['ssi'] && $reg->company->color != SiteTpl::CUSTOM_TPL_NEW |
| #7 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(4676): BaseController->widget("n_product_point-250360") 4671 } 4672 4673 if ( ! $reg->isDownline ) { 4674 // 线上环境在访问控件的时候也使用了Index/Preview 4675 // rewrite ^/widget/(.*)\.html$ /index.php?r=Index/Preview&id=$1 last; 4676 $this->widget( "$id" ); 4677 Yii::app()->end(); 4678 } 4679 4680 // 强制打上 _preview = TRUE 4681 $this->_preview = TRUE; |
| #8 |
+
–
/data/www/trade/tradeweb/protected/controllers/BaseController.php(753): BaseController->processCustomTplRequest() 748 749 //如果是定制ajax请求,转到定制页面处理逻辑,在此方法中中断请求 2019.9.20 add by qs 750 $this->processCustomPageRequest(); 751 752 // 统一处理所有使用自定义模板的请求 753 $this->processCustomTplRequest(); 754 } 755 else if ( $reg->company->type == CompanyUncheck::TYPE_SIMPLE ) { 756 $theme = SiteTpl::$themes[ $reg->company->color ]; 757 Yii::app()->setTheme( $theme ); 758 |
| #9 |
+
–
/data/www/trade/libs/yii/web/CWebApplication.php(281): BaseController->init() 276 if(($ca=$this->createController($route))!==null) 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}".', |
| #10 |
+
–
/data/www/trade/libs/yii/web/CWebApplication.php(141): CWebApplication->runController("Index/Preview") 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. |
| #11 |
+
–
/data/www/trade/libs/yii/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 /** |
| #12 |
+
–
/data/www/trade/tradeweb/index.php(218): CApplication->run() 213 214 include_once 'load_libs.php'; 215 require_once 'TplHelper.php'; 216 require_once( $yii ); 217 218 Yii::createWebApplication( $configfile )->run(); |
Endereço: Fábrica da cidade de Wuxi & fábrica da cidade de Changzhou, província de Jiangsu, China
Endereço de fábrica:Fábrica da fábrica do parque industrial de Hongming & do distrito de Wujin, província de Jiangsu, China