/home/raovobjd/muahangmy.com/protected/components/widgets/views/widgetRelatedProduct.php(1)
01 <?php if (count($model) > 6) { 02 ?> 03 <style> 04 .owl-carousel .owl-item img { 05 max-height: 115px; 06 max-width: 100%; 07 width: auto; 08 !important; 09 text-align: center; 10 display: block; 11 margin: auto; 12 } 13 </style>
#0 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3423): require("/home/raovobjd/muahangmy.com/protected/components/widgets/views/...") 3418 ob_implicit_flush(false); 3419 require($_viewFile_); 3420 return ob_get_clean(); 3421 } 3422 else 3423 require($_viewFile_); 3424 } 3425 public function createWidget($className,$properties=array()) 3426 { 3427 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 3428 $widget->init(); |
#1 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3398): CBaseController->renderInternal("/home/raovobjd/muahangmy.com/protected/components/widgets/views/...", array("model" => null), false) 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/raovobjd/muahangmy.com/framework/yiilite.php(6051): CBaseController->renderFile("/home/raovobjd/muahangmy.com/protected/components/widgets/views/...", array("model" => null), false) 6046 return false; 6047 } 6048 public function render($view,$data=null,$return=false) 6049 { 6050 if(($viewFile=$this->getViewFile($view))!==false) 6051 return $this->renderFile($viewFile,$data,$return); 6052 else 6053 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 6054 array('{widget}'=>get_class($this), '{view}'=>$view))); 6055 } 6056 } |
#3 |
+
–
/home/raovobjd/muahangmy.com/protected/components/widgets/WidgetRelatedProduct.php(30): CWidget->render("widgetRelatedProduct", array("model" => null)) 25 } 26 27 } 28 29 public function run() { 30 return CWidget::render('widgetRelatedProduct', array('model' => $this->results)); 31 } 32 } |
#4 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3444): WidgetRelatedProduct->run() 3439 return ob_get_clean(); 3440 } 3441 else 3442 { 3443 $widget=$this->createWidget($className,$properties); 3444 $widget->run(); 3445 return $widget; 3446 } 3447 } 3448 public function beginWidget($className,$properties=array()) 3449 { |
#5 |
+
–
/home/raovobjd/muahangmy.com/protected/views/front/expressProduct/detail.php(105): CBaseController->widget("WidgetRelatedProduct") 100 101 </div> 102 </div> 103 </div> 104 105 <?php $this->widget("WidgetRelatedProduct"); ?> 106 <?php $this->widget("WidgetProductViewed"); ?> 107 108 <script type="text/javascript" src="<?php echo HSUrl::home() ?>/js/jquery.min.js"></script> 109 110 <script type="text/javascript" src="<?php echo HSUrl::home() ?>/js/hs.core.js"></script> |
#6 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3419): require("/home/raovobjd/muahangmy.com/protected/views/front/expressProduc...") 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 } |
#7 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3398): CBaseController->renderInternal("/home/raovobjd/muahangmy.com/protected/views/front/expressProduc...", array("model" => ExpressProduct, "images" => array(ExpressProductImage)), 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); |
#8 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3822): CBaseController->renderFile("/home/raovobjd/muahangmy.com/protected/views/front/expressProduc...", array("model" => ExpressProduct, "images" => array(ExpressProductImage)), 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 |
#9 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3790): CController->renderPartial("detail", array("model" => ExpressProduct, "images" => array(ExpressProductImage)), 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) |
#10 |
+
–
/home/raovobjd/muahangmy.com/protected/controllers/front/ExpressProductController.php(23): CController->render("detail", array("model" => ExpressProduct, "images" => array(ExpressProductImage))) 18 //canonical & title link 19 $this->pageTitle = $product->title . ' , ' . Yii::app()->params['meta_title']; 20 Yii::app()->clientScript->registerLinkTag('canonical', null, HSCommon::getCurrentUrl()); 21 //endregion 22 23 $this->render('detail', array('model' => $product, 'images' => ExpressProductImage::model()->findAllByAttributes(array('product_id' => $product->id)))); 24 } 25 26 public function actionIndex() { 27 $this->layout = 'shop_page'; 28 $criteria = new CDbCriteria(); |
#11 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(4058): ExpressProductController->actionDetail() 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 4062 { 4063 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#12 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(3570): CInlineAction->runWithParams(array("id" => "2", "name" => "bain-de-luxe-verbena-foaming-body-scrub-aloe-vera-glycerin-17-oz...")) 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; |
#13 |
+
–
/home/raovobjd/muahangmy.com/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(); |
#14 |
+
–
/home/raovobjd/muahangmy.com/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); |
#15 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(1746): CController->run("detail") 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))); |
#16 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(1666): CWebApplication->runController("expressProduct/detail") 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( |
#17 |
+
–
/home/raovobjd/muahangmy.com/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 { |
#18 |
+
–
/home/raovobjd/muahangmy.com/protected/components/WebApplicationEndBehavior.php(24): CApplication->run() 19 // and raise it. 20 $this->onModuleCreate = array($this, 'changeModulePaths'); 21 $this->onModuleCreate(new CEvent($this->owner)); 22 23 $this->configMailerComponent(); 24 $this->owner->run(); // Run application. 25 } 26 27 // This event should be raised when CWebApplication 28 // or CWebModule instances are being initialized. 29 public function onModuleCreate ($event) { |
#19 |
+
–
/home/raovobjd/muahangmy.com/framework/yiilite.php(699): WebApplicationEndBehavior->runEnd("front") 694 if($this->_m!==null) 695 { 696 foreach($this->_m as $object) 697 { 698 if($object->getEnabled() && method_exists($object,$name)) 699 return call_user_func_array(array($object,$name),$parameters); 700 } 701 } 702 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 703 return call_user_func_array($this->$name, $parameters); 704 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#20 |
+
–
/home/raovobjd/muahangmy.com/index.php(13): CComponent->__call("runEnd", array("front")) 08 defined('YII_DEBUG') or define('YII_DEBUG', true); 09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 10 11 require_once($yii); 12 $app = Yii::createWebApplication($config); 13 $app->runEnd('front'); |