/var/www/jungsu/data/www/jung.su/framework/db/ar/CActiveRecord.php(143)
131 */ 132 public function __get($name) 133 { 134 if(isset($this->_attributes[$name])) 135 return $this->_attributes[$name]; 136 elseif(isset($this->getMetaData()->columns[$name])) 137 return null; 138 elseif(isset($this->_related[$name])) 139 return $this->_related[$name]; 140 elseif(isset($this->getMetaData()->relations[$name])) 141 return $this->getRelated($name); 142 else 143 return parent::__get($name); 144 } 145 146 /** 147 * PHP setter magic method. 148 * This method is overridden so that AR attributes can be accessed like properties. 149 * @param string $name property name 150 * @param mixed $value property value 151 */ 152 public function __set($name,$value) 153 { 154 if($this->setAttribute($name,$value)===false) 155 {
#0 |
+
–
/var/www/jungsu/data/www/jung.su/framework/db/ar/CActiveRecord.php(143): CComponent->__get("text_col") 138 elseif(isset($this->_related[$name])) 139 return $this->_related[$name]; 140 elseif(isset($this->getMetaData()->relations[$name])) 141 return $this->getRelated($name); 142 else 143 return parent::__get($name); 144 } 145 146 /** 147 * PHP setter magic method. 148 * This method is overridden so that AR attributes can be accessed like properties. |
#1 |
+
–
/var/www/jungsu/data/www/jung.su/framework/base/CModel.php(595): CActiveRecord->__get("text_col") 590 * @param integer $offset the offset to retrieve element. 591 * @return mixed the element at the offset, null if no element is found at the offset 592 */ 593 public function offsetGet($offset) 594 { 595 return $this->$offset; 596 } 597 598 /** 599 * Sets the element at the specified offset. 600 * This method is required by the interface ArrayAccess. |
#2 |
+
–
/var/www/jungsu/data/www/jung.su/protected/controllers/GoodsController.php(526): CModel->offsetGet("text_col") 521 } 522 523 !empty($colorsArray) && $colors = Colors::model()->findAll(array('condition' => sprintf('`id` in (%s)', join(',', $colorsArray)))); 524 } 525 526 ArticleDataHelper::set($product, $prodSeo['text_col']); 527 528 $this->render('tovar', array( 529 'newtext' => $newtext, 530 'product' => $product, 531 'colors' => $colors, |
#3 |
unknown(0): GoodsController->actionTovar("al2990-501u-vyklyuchatel-1-klavishnyy---tsvet-alyuminiy-metall--...")
|
#4 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(GoodsController, array("al2990-501u-vyklyuchatel-1-klavishnyy---tsvet-alyuminiy-metall--...")) 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 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(GoodsController, ReflectionMethod, array("tovar_url" => "al2990-501u-vyklyuchatel-1-klavishnyy---tsvet-alyuminiy-metall--...")) 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 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(358): CInlineAction->runWithParams(array("tovar_url" => "al2990-501u-vyklyuchatel-1-klavishnyy---tsvet-alyuminiy-metall--...")) 353 { 354 $priorAction=$this->_action; 355 $this->_action=$action; 356 if($this->beforeAction($action)) 357 { 358 if($action->runWithParams($this->getActionParams())===false) 359 $this->invalidActionParams($action); 360 else 361 $this->afterAction($action); 362 } 363 $this->_action=$priorAction; |
#7 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#8 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#9 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(1219): CFilter->filter(CFilterChain) 1214 */ 1215 public function filterAccessControl($filterChain) 1216 { 1217 $filter=new CAccessControlFilter; 1218 $filter->setRules($this->accessRules()); 1219 $filter->filter($filterChain); 1220 } 1221 1222 /** 1223 * Returns a persistent page state value. 1224 * A page state is a variable that is persistent across POST requests of the same page. |
#10 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#11 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#12 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(341): CFilterChain->run() 336 $this->runAction($action); 337 else 338 { 339 $priorAction=$this->_action; 340 $this->_action=$action; 341 CFilterChain::create($this,$action,$filters)->run(); 342 $this->_action=$priorAction; 343 } 344 } 345 346 /** |
#13 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(315): CController->runActionWithFilters(CInlineAction, array("accessControl")) 310 { 311 if(($parent=$this->getModule())===null) 312 $parent=Yii::app(); 313 if($parent->beforeControllerAction($this,$action)) 314 { 315 $this->runActionWithFilters($action,$this->filters()); 316 $parent->afterControllerAction($this,$action); 317 } 318 } 319 else 320 $this->missingAction($actionID); |
#14 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CWebApplication.php(282): CController->run("tovar") 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))); |
#15 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CWebApplication.php(141): CWebApplication->runController("goods/tovar") 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. |
#16 |
+
–
/var/www/jungsu/data/www/jung.su/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 /** |
#17 |
+
–
/var/www/jungsu/data/www/jung.su/index.php(61): CApplication->run() 56 // remove the following line when in production mode 57 defined('YII_DEBUG') or define('YII_DEBUG',true); 58 59 ob_start(); 60 require_once($yii); 61 Yii::createWebApplication($config)->run(); 62 $res = ob_get_clean(); 63 if(!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] !== 'XMLHttpRequest'){ 64 65 $prepareData = true; 66 |