/var/www/vhosts/barber.kz/httpdocs/yii/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/vhosts/barber.kz/httpdocs/yii/db/ar/CActiveRecord.php(143): CComponent->__get("time") 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/vhosts/barber.kz/httpdocs/barber.kz/protected/modules/struct/models/StructPage.php(552): CActiveRecord->__get("time") 547 return isset($this->data[$name]) 548 ? $this->data[$name] : NULL; 549 } 550 } 551 552 return parent::__get($name); 553 } 554 555 public function getAttribute($name) 556 { 557 // если не сделать этого, произойдет ситуация, когда обращение |
#2 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/templates/master/item.php(28): StructPage->__get("time") 23 <b><?= yii::t('custom', 'Специализация'); ?></b> 24 <p><?= $page->spec ?></p> 25 </div> 26 <div class="grey-block"> 27 <b><?= yii::t('custom', 'В профессии'); ?></b> 28 <p><?= $page->time ?></p> 29 </div> 30 <div class="otherBlock"> 31 <?= $page->other ?> 32 </div> 33 </div> |
#3 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/page.php(64): include("/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/tem...") 59 </div> 60 <?php 61 } 62 } 63 // подгрузка шаблона 64 include Yii::app()->struct->getTemplatePath('page', $template); |
#4 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CBaseController.php(126): require("/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/pag...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#5 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/pag...", array("page" => StructPage, "category" => StructCategory), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#6 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CController.php(869): CBaseController->renderFile("/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/views/pag...", array("page" => StructPage, "category" => StructCategory), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#7 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CController.php(782): CController->renderPartial("/page", array("page" => StructPage, "category" => StructCategory), true) 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#8 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/extensions/extcore/ExtCoreController.php(216): CController->render("/page", array("page" => StructPage, "category" => StructCategory), false) 211 212 public function render($view, $data=null, $return=false) 213 { 214 if(Yii::app()->request->isAjaxRequest) 215 return $this->renderPartial($view, $data, $return); 216 else return parent::render($view, $data, $return); 217 } 218 219 /* 220 public function render($view, $data=null, $return=false) 221 { |
#9 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/modules/struct/controllers/StructController.php(182): ExtCoreController->render("/page", array("page" => StructPage, "category" => StructCategory)) 177 if(!$page && is_numeric($pageID)) 178 $page = StructPage::model()->findByPk($pageID); 179 180 if($page){ 181 Yii::app()->struct->currentPage = $page; 182 $this->render($this->views['page'], compact('page', 'category')); 183 return true; 184 } 185 else return false; 186 } 187 |
#10 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/modules/struct/controllers/StructController.php(105): StructController->actionPage("cart_31") 100 * 101 * Если параметр не является ID/alias, либо количество параметров иное, 102 * вызывается actionPages($categoryID, $orderBy = NULL, $scope = NULL, $search = NULL, $page = NULL); 103 * сопоставление параметров происходит в естественном порядке. 104 */ 105 if(!sizeof($arguments) || !$this->actionPage(current($arguments))){ 106 $_GET = $arguments; 107 $this->lastActionID = 'pages'; 108 $this->run('pages'); 109 } 110 |
#11 |
unknown(0): StructController->actionIndex("shop", StructCategory, array("cart_31"), array("shop"), ...)
|
#12 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(StructController, array("shop", StructCategory, array("cart_31"), array("shop"), ...)) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#13 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(StructController, ReflectionMethod, array("alias" => "shop", "category" => StructCategory, "arguments" => array("cart_31"), "hierarchy" => array("shop"), ...)) 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 } |
#14 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CController.php(308): CInlineAction->runWithParams(array("alias" => "shop", "category" => StructCategory, "arguments" => array("cart_31"), "hierarchy" => array("shop"), ...)) 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; |
#15 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/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(); |
#16 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/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); |
#17 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/protected/extensions/extcore/ExtCoreController.php(208): CController->run("") 203 Yii::app()->raiseEvent('onBeginControllerAction', new CEvent($this)); 204 $this->lastActionID = $actionID; 205 206 //echo "ACTION RUN END ($actionID): " . round(microtime(1) - MICRO_TIME, 2) . "<br/>"; 207 208 parent::run($actionID); 209 Yii::app()->raiseEvent('onEndControllerAction', new CEvent($this)); 210 } 211 212 public function render($view, $data=null, $return=false) 213 { |
#18 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CWebApplication.php(282): ExtCoreController->run("") 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))); |
#19 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/web/CWebApplication.php(141): CWebApplication->runController("struct") 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. |
#20 |
+
–
/var/www/vhosts/barber.kz/httpdocs/yii/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 /** |
#21 |
+
–
/var/www/vhosts/barber.kz/httpdocs/barber.kz/index.php(23): CApplication->run() 18 // specify how many levels of call stack should be shown in each log message 19 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 20 21 require_once($yii); 22 Yii::$classMap['ExtCoreWebApplication'] = "protected/extensions/extcore/ExtCoreWebApplication.php"; 23 Yii::createApplication('ExtCoreWebApplication', $config)->run(); 24 //Yii::createWebApplication($config)->run(); 25 |