/home/autogarant/public_html/protected/components/clsWidgets.php(8517)
8505 'code' => 'code', 8506 'value' => strtolower($opt->data->search->brand), 8507 'empty_return_type' => true, 8508 ); 8509 $category_values = clsLoad::findTblCategoriesValuesByActive($category_values_opt); 8510 // Find category data 8511 $category_data_opt = (object) array( 8512 'model' => $category_values, 8513 ); 8514 $opt->data->data->category_data = clsLoad::getArrayTblCategoriesData($category_data_opt); 8515 8516 // Set category by brand 8517 $opt->data->search->id_category = $opt->data->data->category_data->values->id; 8518 } 8519 8520 if (!$opt->data->data->all_data) { 8521 // Fill data 8522 $m_product_slug = clsLoad::findTblProductsSlugsByValue((object) array('value' => $opt->data->search->id_car_model)); 8523 $opt->data->data->all_data[] = $m_product_slug; 8524 8525 // Convert data 8526 $opt_list = (object) array( 8527 'data' => $opt->data, 8528 ); 8529 $list_data = clsLoad::listCarModels($opt_list);
#0 |
+
–
/home/autogarant/public_html/protected/components/clsFunctions.php(4145): clsWidgets::getCarModelPage(stdClass) 4140 $widget_data_opt = self::mergeObjectArrays($opt, $options_data); 4141 break; 4142 } 4143 4144 $fnc = isset($options->widget) ? $options->widget : ''; 4145 $widget_data = clsWidgets::$fnc($widget_data_opt); 4146 4147 $widget_data_data = isset($widget_data->data) ? $widget_data->data : array(); 4148 // Give priority what option to be stronger from clsParams or clsWidgets 4149 if (isset($options_data->data_priority) && $options_data->data_priority == 'widget') { 4150 $config = self::mergeObjectArrays($widget_data_data, $options_data); |
#1 |
+
–
/home/autogarant/public_html/protected/components/clsFunctions.php(4109): clsFunctions::getRenderBody(stdClass, stdClass) 4104 foreach ($pageData->default->structure as $position => $structure) { 4105 $page_template->$position = $structure; 4106 } 4107 } 4108 4109 $data = self::getRenderBody($pageData, $opt->opt); 4110 4111 $return = (object) array( 4112 'data' => $data, 4113 'page_template' => $page_template 4114 ); |
#2 |
+
–
/home/autogarant/public_html/protected/controllers/BrandController.php(189): clsFunctions::getPageTemplate(stdClass) 184 'search' => (object) array( 185 'id_car_model' => $id, 186 ), 187 ), 188 ); 189 $data = clsFunctions::getPageTemplate($opt); 190 191 $this->render('page', array( 192 'page_template' => $data->page_template, 193 'data' => $data->data, 194 )); |
#3 |
unknown(0): BrandController->actionModelDetails("bmw_serije_6_gran_turismo-1636467217")
|
#4 |
+
–
/home/autogarant/public_html/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(BrandController, array("bmw_serije_6_gran_turismo-1636467217")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#5 |
+
–
/home/autogarant/public_html/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(BrandController, ReflectionMethod, array("sr/alfa/Modeli/bmw_serije_6_gran_turismo-1636467217" => "", "lang" => "sr", "brand" => "alfa", "id" => "bmw_serije_6_gran_turismo-1636467217")) 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 else 49 return $controller->$methodName(); 50 } 51 52 } |
#6 |
+
–
/home/autogarant/public_html/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("sr/alfa/Modeli/bmw_serije_6_gran_turismo-1636467217" => "", "lang" => "sr", "brand" => "alfa", "id" => "bmw_serije_6_gran_turismo-1636467217")) 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; |
#7 |
+
–
/home/autogarant/public_html/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(); |
#8 |
+
–
/home/autogarant/public_html/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); |
#9 |
+
–
/home/autogarant/public_html/yii/framework/web/CWebApplication.php(282): CController->run("modeldetails") 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}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/home/autogarant/public_html/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("brand/modeldetails") 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 |
+
–
/home/autogarant/public_html/yii/framework/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 |
+
–
/home/autogarant/public_html/index.php(17): CApplication->run() 12 $yii=dirname(__FILE__).'/yii/framework/yii.php'; 13 $config=dirname(__FILE__).'/protected/config/main.php'; 14 15 require_once($yii); 16 17 Yii::createWebApplication($config)->run(); |