/home/magnustech/domains/magnus-tech.pl/public_html/protected/myWidgets/widget_imageWidget.php(8)
01 <?php 02 03 class widget_imageWidget extends CWidget { 04 05 public $conf; 06 07 public function init() { 08 parse_str($this->conf['value']); 09 $images = widget_image::model()->findAll(array('condition' => "id_image='$id_image'", 10 'order' => 'id_image asc')); 11 if($link!=''){ 12 $href=$link; 13 $cl=''; 14 }else { 15 $href=$src; 16 $cl=' fancybox'; 17 } 18 $ext = substr($src, -3, strlen($src)); 19 $out.='<a href="' . $href. '" class="imageHolder'.$cl.' separataImage" rel="gallery' . $gallery . '"> 20 <img src="cache/images/' . $id_image . '.' . ($ext) . '" alt="" />
#0 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/protected/myWidgets/widget_imageWidget.php(8): parse_str("src=assets/pliki/produkty/regulatory/atol-rg-spin/atol-rg-spin.p...") 03 class widget_imageWidget extends CWidget { 04 05 public $conf; 06 07 public function init() { 08 parse_str($this->conf['value']); 09 $images = widget_image::model()->findAll(array('condition' => "id_image='$id_image'", 10 'order' => 'id_image asc')); 11 if($link!=''){ 12 $href=$link; 13 $cl=''; |
#1 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CBaseController.php(148): widget_imageWidget->init() 143 * @return CWidget the fully initialized widget instance. 144 */ 145 public function createWidget($className,$properties=array()) 146 { 147 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 148 $widget->init(); 149 return $widget; 150 } 151 152 /** 153 * Creates a widget and executes it. |
#2 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CBaseController.php(173): CBaseController->createWidget("application.myWidgets.widget_imageWidget", array("conf" => array("id_image" => "1256", "img_type" => "18", "id_element" => "0", "title" => "", ...))) 168 $widget->run(); 169 return ob_get_clean(); 170 } 171 else 172 { 173 $widget=$this->createWidget($className,$properties); 174 $widget->run(); 175 return $widget; 176 } 177 } 178 |
#3 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/themes/classic/views/site/productDetail.php(35): CBaseController->widget("application.myWidgets.widget_imageWidget", array("conf" => array("id_image" => "1256", "img_type" => "18", "id_element" => "0", "title" => "", ...))) 30 } else { 31 32 $v['labels'] = $this->labels; 33 $this->widget('application.myWidgets.' . $v['alias'] . 'Widget' 34 , array( 35 'conf' => $v 36 ) 37 ); 38 if ($v['alias'] != 'widget_image') { 39 echo '<div class="clear"></div>'; 40 } |
#4 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CBaseController.php(127): require("/home/magnustech/domains/magnus-tech.pl/public_html/themes/class...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#5 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/magnustech/domains/magnus-tech.pl/public_html/themes/class...", null, true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#6 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CController.php(870): CBaseController->renderFile("/home/magnustech/domains/magnus-tech.pl/public_html/themes/class...", null, true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#7 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CController.php(783): CController->renderPartial("productDetail", null, true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#8 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/protected/controllers/SiteController.php(627): CController->render("productDetail") 622 public function actionProductList() { 623 $this->render('productList'); 624 } 625 626 public function actionProductDetail() { 627 $this->render('productDetail'); 628 } 629 630 public function actionProductCatList() { 631 $this->render('productCatList'); 632 } |
#9 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/protected/controllers/SiteController.php(133): SiteController->actionProductDetail() 128 break; 129 case 17: 130 $this->actionProductList(); 131 break; 132 case 18: 133 $this->actionProductDetail(); 134 break; 135 default: 136 137 $this->actionTypeText(); 138 |
#10 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/actions/CInlineAction.php(50): SiteController->actionIndex() 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 } |
#11 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CController.php(309): CInlineAction->runWithParams(array("parent" => "regulatory", "page" => "atol-rg-spin")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#12 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#13 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#14 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CWebApplication.php(283): CController->run("index") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/web/CWebApplication.php(142): CWebApplication->runController("site/index") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#16 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#17 |
+
–
/home/magnustech/domains/magnus-tech.pl/public_html/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |