/var/www/Rejsywodne/protected/modules/Main/models/Artykul/Articles.php(160)
148 //$returned_Data[0]['before'] = $next_before_art['prev']; 149 $returned_Data[0]['tags'] = explode(',',$returned_Data[0]['pl_tags']); 150 151 $Additional_Article = new Additional_Articles(); 152 //$ret_array = $Additional_Article->Load_Article($returned_Data[0]['artbox_id']); 153 //$returned_Data[0] = array_merge($returned_Data[0],$ret_array[0]); 154 155 //$returned_Data[0]['photo'] = Yii::app()->baseUrl . "/img/main/panties/" . strtolower($returned_Data[0]['type_2']) . ".png"; 156 157 } else { 158 159 $Additional_Article = new Additional_Articles(); 160 $ret_array = $Additional_Article->Load_Article($returned_Data[0]['artbox_id']); 161 162 $returned_Data[0]['color_accordion_menu'] = "style='background-color:grey';"; 163 $returned_Data[0] = array_merge($returned_Data[0],$ret_array[0]); 164 $returned_Data[0]['photo'] = Yii::app()->baseUrl . "/img/main/panties/" . strtolower($returned_Data[0]['type_2']) . ".png"; 165 166 167 } 168 $returned_Data[0]['others'] = $this->Load_Other_From_Category_Wolbar($returned_Data[0]['type_1']); 169 $this->Add_One_View($returned_Data[0]['views'],$returned_Data[0]['artbox_id']); 170 return $returned_Data; 171 172
#0 |
+
–
/var/www/Rejsywodne/protected/modules/Main/controllers/ArtykulController.php(53): Articles->Load_Article("rejsy-rewa-jastarnia-rewa") 48 if ($is_gallery){ 49 $this->render('index',array('Texts'=>$Texts->List_Texts(),'Boxes'=>$boxes_data,'Boxes_Realizacje'=>array(),'Comments'=>$Comments->List_Comments($article_id),'Article'=>$Article->Load_Article($article_alias),'Article_Menu'=>$Article->Load_Article_Menu($article_alias),'Article_Gallery'=>$Article->Load_Article_Gallery($article_alias),'Article_Files'=>$Article->Load_Article_Files($article_alias))); 50 } 51 else 52 { 53 $this->render('index',array('Texts'=>$Texts->List_Texts(),'Boxes'=>$boxes_data,'Boxes_Realizacje'=>array(),'Comments'=>$Comments->List_Comments($article_id),'Article'=>$Article->Load_Article($article_alias),'Article_Menu'=>$Article->Load_Article_Menu($article_alias),'Article_Gallery'=>NULL,'Article_Files'=>$Article->Load_Article_Files($article_alias))); 54 55 } 56 } 57 } 58 else{$this->redirect(Yii::app()->baseUrl."/");} |
#1 |
+
–
/var/www/Rejsywodne/yii/framework/web/actions/CInlineAction.php(50): ArtykulController->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 } |
#2 |
+
–
/var/www/Rejsywodne/yii/framework/web/CController.php(300): CInlineAction->runWithParams(array("article_alias" => "rejsy-rewa-jastarnia-rewa")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#3 |
+
–
/var/www/Rejsywodne/yii/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/var/www/Rejsywodne/yii/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#5 |
+
–
/var/www/Rejsywodne/yii/framework/web/CWebApplication.php(277): CController->run("index") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/var/www/Rejsywodne/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("Main/Artykul/index") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#7 |
+
–
/var/www/Rejsywodne/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#8 |
+
–
/var/www/Rejsywodne/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',1); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |