/home/demirdo4/kombidunyasi.com/protected/modules/urun/controllers/front/DefaultController.php(133)
121 } 122 $new_array = array("success"=>$success,"total"=>$total,"items"=>array()); 123 foreach($work as $item){ 124 $new_array["items"][] = array("title"=> $item->title,"body"=>$item->body,"image"=>$item->image); 125 } 126 echo json_encode($new_array); 127 128 } 129 130 function actionShow($id) { 131 $this->layout = "//layouts/contentpages"; 132 $urun = Urun::model()->dileGore()->findByAttributes(array('slug' => $id)); 133 $urunler = Urun::model()->dileGore()->findAllByAttributes(array('category_id' => $urun->category_id)); 134 $cat = UrunCategory::model()->findByAttributes(array('id'=>$urun->category_id)); 135 136 $this->pageTitle = $urun->title; 137 if(!empty($urun->category->parent->parent->parent->title)) { $this->breadcrumbs[$urun->category->parent->parent->parent->title] = '/urunler/kategori/'.$urun->category->parent->parent->parent->slug; }; 138 if(!empty($urun->category->parent->parent->title)) { $this->breadcrumbs[$urun->category->parent->parent->title] = '/urunler/kategori/'.$urun->category->parent->parent->slug; }; 139 if(!empty($urun->category->parent->title)) { $this->breadcrumbs[$urun->category->parent->title] = '/urunler/kategori/'.$urun->category->parent->slug;}; 140 $this->breadcrumbs[$urun->category->title] = '/urunler/kategori/'.$urun->category->slug; 141 $this->breadcrumbs[$urun->title] = $urun->slug; 142 143 if(!$urun) 144 throw new CHttpException(404,'Yazı Bulunamadı'); 145 $this->render('show', array(
#0 |
unknown(0): DefaultController->actionShow("atmotec-turbotec-pro")
|
#1 |
+
–
/home/demirdo4/kombidunyasi.com/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(DefaultController, array("atmotec-turbotec-pro")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#2 |
+
–
/home/demirdo4/kombidunyasi.com/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(DefaultController, ReflectionMethod, array("id" => "atmotec-turbotec-pro")) 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 } |
#3 |
+
–
/home/demirdo4/kombidunyasi.com/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "atmotec-turbotec-pro")) 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; |
#4 |
+
–
/home/demirdo4/kombidunyasi.com/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(); |
#5 |
+
–
/home/demirdo4/kombidunyasi.com/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); |
#6 |
+
–
/home/demirdo4/kombidunyasi.com/framework/web/CWebApplication.php(282): CController->run("show") 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))); |
#7 |
+
–
/home/demirdo4/kombidunyasi.com/framework/web/CWebApplication.php(141): CWebApplication->runController("urun/default/show/id/atmotec-turbotec-pro") 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. |
#8 |
+
–
/home/demirdo4/kombidunyasi.com/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#9 |
+
–
/home/demirdo4/kombidunyasi.com/protected/components/WebApplicationEndBehavior.php(32): CApplication->run() 27 // Attach the changeModulePaths event handler 28 // and raise it. 29 $this->onModuleCreate = array($this, 'changeModulePaths'); 30 $this->onModuleCreate(new CEvent($this->owner)); 31 32 $this->owner->run(); // Run application. 33 } 34 35 // This event should be raised when CWebApplication 36 // or CWebModule instances are being initialized. 37 public function onModuleCreate($event) |
#10 |
+
–
/home/demirdo4/kombidunyasi.com/framework/base/CComponent.php(260): WebApplicationEndBehavior->runEnd("front") 255 if($this->_m!==null) 256 { 257 foreach($this->_m as $object) 258 { 259 if($object->getEnabled() && method_exists($object,$name)) 260 return call_user_func_array(array($object,$name),$parameters); 261 } 262 } 263 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 264 return call_user_func_array($this->$name, $parameters); 265 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#11 |
+
–
/home/demirdo4/kombidunyasi.com/index.php(29): CComponent->__call("runEnd", array("front")) 24 } 25 26 } 27 28 $app = new WeberWebApp($config); 29 $app->runEnd('front'); 30 |