/var/www/rusbrand.dev/yii/framework/db/ar/CActiveRecord.php(144)
132 */ 133 public function __get($name) 134 { 135 if(isset($this->_attributes[$name])) 136 return $this->_attributes[$name]; 137 else if(isset($this->getMetaData()->columns[$name])) 138 return null; 139 else if(isset($this->_related[$name])) 140 return $this->_related[$name]; 141 else if(isset($this->getMetaData()->relations[$name])) 142 return $this->getRelated($name); 143 else 144 return parent::__get($name); 145 } 146 147 /** 148 * PHP setter magic method. 149 * This method is overridden so that AR attributes can be accessed like properties. 150 * @param string $name property name 151 * @param mixed $value property value 152 */ 153 public function __set($name,$value) 154 { 155 if($this->setAttribute($name,$value)===false) 156 {
#0 |
+
–
/var/www/rusbrand.dev/yii/framework/db/ar/CActiveRecord.php(144): CComponent->__get("title_") 139 else if(isset($this->_related[$name])) 140 return $this->_related[$name]; 141 else if(isset($this->getMetaData()->relations[$name])) 142 return $this->getRelated($name); 143 else 144 return parent::__get($name); 145 } 146 147 /** 148 * PHP setter magic method. 149 * This method is overridden so that AR attributes can be accessed like properties. |
#1 |
+
–
/var/www/rusbrand.dev/site/protected/views/frontoffice/news/list.php(83): CActiveRecord->__get("title_") 78 <?= Yii::app()->dateFormatter->format('dd.MM yyyy', $news->public_date); ?> 79 </span> 80 </div> 81 <div class="cbni-text"> 82 <a href="<?= Yii::app()->createUrl('/news/'.$news->id) ?>" class="cbni-title"> 83 <?= CHtml::encode($news->$title) ?> 84 </a> 85 <a href="<?= Yii::app()->createUrl('/news/') ?>/?t=<?= $news->news_type_id ?>" class="cbni-category"> 86 <span> 87 <?= $news->newsType->$title ?> 88 </span> |
#2 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CBaseController.php(127): require("/var/www/rusbrand.dev/site/protected/views/frontoffice/news/list...") 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 } |
#3 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CBaseController.php(96): CBaseController->renderInternal("/var/www/rusbrand.dev/site/protected/views/frontoffice/news/list...", array("newsList" => CPagination), 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); |
#4 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CController.php(870): CBaseController->renderFile("/var/www/rusbrand.dev/site/protected/views/frontoffice/news/list...", array("newsList" => CPagination), 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 |
#5 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CController.php(783): CController->renderPartial("list", array("newsList" => CPagination), 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 |
#6 |
+
–
/var/www/rusbrand.dev/site/protected/controllers/frontoffice/NewsController.php(63): CController->render("list", array("newsList" => CPagination)) 58 'pagination' => $pagination, 59 60 ) 61 ); 62 63 $this->render('list', array('newsList' => $this->dataProvider->pagination)); 64 } 65 66 public function actionView($id) 67 { 68 Yii::app()-> |
#7 |
unknown(0): NewsController->actionList(null)
|
#8 |
+
–
/var/www/rusbrand.dev/yii/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(NewsController, array(null)) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#9 |
+
–
/var/www/rusbrand.dev/yii/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(NewsController, ReflectionMethod, array("q" => "/news")) 43 { 44 $methodName='action'.$this->getId(); 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 } |
#10 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CController.php(309): CInlineAction->runWithParams(array("q" => "/news")) 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; |
#11 |
+
–
/var/www/rusbrand.dev/yii/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(); |
#12 |
+
–
/var/www/rusbrand.dev/yii/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); |
#13 |
+
–
/var/www/rusbrand.dev/site/protected/components/WebAppWithShutdownHandler.php(200): CController->run("list") 195 true 196 ); 197 exit(0); // ...-три-четыре. ЗАКОНЧИЛИ! Переходим к водным процедурам 198 } else { 199 // всё нормально пущай сам работает 200 $controller->run($actionID); 201 $this->setController($oldController); 202 } 203 } else { 204 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 205 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
/var/www/rusbrand.dev/yii/framework/web/CWebApplication.php(145): WebAppWithShutdownHandler->runController("news/list") 140 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 141 $_GET[$name]=$value; 142 } 143 else 144 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 145 $this->runController($route); 146 } 147 148 /** 149 * Registers the core application components. 150 * This method overrides the parent implementation by registering additional core components. |
#15 |
+
–
/var/www/rusbrand.dev/yii/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 /** |
#16 |
+
–
/var/www/rusbrand.dev/site/protected/behaviors/WebApplicationEndBehavior.php(23): CApplication->run() 18 19 // обрабатываем событие создания модуля 20 $this->onModuleCreate = array($this, 'changeModulePaths'); 21 $this->onModuleCreate(new CEvent ($this->owner)); 22 23 $this->owner->run(); 24 } 25 26 // обработчик события onModuleCreate 27 public function onModuleCreate($event) 28 { |
#17 |
unknown(0): WebApplicationEndBehavior->runEnd("frontoffice")
|
#18 |
+
–
/var/www/rusbrand.dev/yii/framework/base/CComponent.php(261): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("frontoffice")) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#19 |
+
–
/var/www/rusbrand.dev/site/index.php(16): CComponent->__call("runEnd", array("frontoffice")) 11 //Yii::createWebApplication($config)->runEnd('frontoffice'); 12 13 // То же самое, но с обработчиком E_ERROR 14 require_once dirname(__FILE__).'/protected/components/WebAppWithShutdownHandler.php'; 15 16 Yii::createApplication('WebAppWithShutdownHandler', $config)->runEnd('frontoffice'); |
#20 |
+
–
/var/www/rusbrand.dev/site/index.php(16): WebAppWithShutdownHandler->runEnd("frontoffice") 11 //Yii::createWebApplication($config)->runEnd('frontoffice'); 12 13 // То же самое, но с обработчиком E_ERROR 14 require_once dirname(__FILE__).'/protected/components/WebAppWithShutdownHandler.php'; 15 16 Yii::createApplication('WebAppWithShutdownHandler', $config)->runEnd('frontoffice'); |