/var/www/wclassshymkent/data/www/yii/framework/db/ar/CActiveRecord.php(145)
133 */ 134 public function __get($name) 135 { 136 if(isset($this->_attributes[$name])) 137 return $this->_attributes[$name]; 138 elseif(isset($this->getMetaData()->columns[$name])) 139 return null; 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. 151 * @param string $name property name 152 * @param mixed $value property value 153 */ 154 public function __set($name,$value) 155 { 156 if($this->setAttribute($name,$value)===false) 157 {
#0 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/db/ar/CActiveRecord.php(145): CComponent->__get("votedCount") 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. |
#1 |
+
–
/var/www/wclassshymkent/data/www/protected/views/site/parts/trainers.php(9): CActiveRecord->__get("votedCount") 04 <div class="staff-card staff-card_trainer"> 05 <span class="staff-card__image"> 06 <a href=""> 07 <img class="staff-card__image-pic" src="<? echo $t->imgFilename ? '/files/trainer/' . Yii::app()->baseUrl . $t->imgFilename : '/img/person.png' ?>" alt="<? echo CHtml::encode($t->name) ?>"> 08 </a> 09 <a class="staff-card__rating" title="За тренера проголосовали <?= $t->votedCount ?> человек(а)"> 10 <span class="icon-thumb staff-card__rating-icon"></span> 11 <span class="span staff-card__rating-count"><?= $t->votedCount ?></span> 12 </a> 13 </span> 14 <div class="staff-card__desc"> |
#2 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CBaseController.php(126): require("/var/www/wclassshymkent/data/www/protected/views/site/parts/trai...") 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 } |
#3 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/wclassshymkent/data/www/protected/views/site/parts/trai...", array("trainers" => array(Trainer, Trainer)), 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); |
#4 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(869): CBaseController->renderFile("/var/www/wclassshymkent/data/www/protected/views/site/parts/trai...", array("trainers" => array(Trainer, Trainer)), 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 |
#5 |
+
–
/var/www/wclassshymkent/data/www/protected/views/site/page/clubCrew.php(54): CController->renderPartial("parts/trainers", array("trainers" => array(Trainer, Trainer))) 49 50 </div> 51 </div> 52 <div class="trainers__content"> 53 <div class="container" id="trainer_wrapper"> 54 <?$this->renderPartial("parts/trainers",array('trainers'=>$trainers))?> 55 </div> 56 </div> 57 </div> 58 <!-- /Блок списка тренеров --> 59 |
#6 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CBaseController.php(126): require("/var/www/wclassshymkent/data/www/protected/views/site/page/clubC...") 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 } |
#7 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/wclassshymkent/data/www/protected/views/site/page/clubC...", array("club" => Club, "categories" => array(0 => array("name" => "Все категории", "disabled" => false), 29 => array("name" => "Силовые", "disabled" => true), 28 => array("name" => "Танцевальные программы", "disabled" => true), 27 => array("name" => "Йога", "disabled" => true), ...), "trainers" => array(Trainer, Trainer)), 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); |
#8 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(869): CBaseController->renderFile("/var/www/wclassshymkent/data/www/protected/views/site/page/clubC...", array("club" => Club, "categories" => array(0 => array("name" => "Все категории", "disabled" => false), 29 => array("name" => "Силовые", "disabled" => true), 28 => array("name" => "Танцевальные программы", "disabled" => true), 27 => array("name" => "Йога", "disabled" => true), ...), "trainers" => array(Trainer, Trainer)), 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 |
#9 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(782): CController->renderPartial("page/clubCrew", array("club" => Club, "categories" => array(0 => array("name" => "Все категории", "disabled" => false), 29 => array("name" => "Силовые", "disabled" => true), 28 => array("name" => "Танцевальные программы", "disabled" => true), 27 => array("name" => "Йога", "disabled" => true), ...), "trainers" => array(Trainer, Trainer)), 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 |
#10 |
+
–
/var/www/wclassshymkent/data/www/protected/controllers/site/ClubAction.php(255): CController->render("page/clubCrew", array("club" => Club, "categories" => array(0 => array("name" => "Все категории", "disabled" => false), 29 => array("name" => "Силовые", "disabled" => true), 28 => array("name" => "Танцевальные программы", "disabled" => true), 27 => array("name" => "Йога", "disabled" => true), ...), "trainers" => array(Trainer, Trainer))) 250 // ); 251 $data['trainers'] = $this->crewData($club, $_GET); 252 253 $this->controller->pageMeta(PageMeta::byObject(PageMeta::ClubTrainers, $club->id), "Команда тренеров клуба " . $club->name); 254 // $this->controller->pageTitle = "Команда тренеров клуба ".$club->name; 255 $this->controller->render("page/clubCrew", $data); 256 } 257 258 private function crewData($club, $args) 259 { 260 $q = new CDbCriteria(); |
#11 |
+
–
/var/www/wclassshymkent/data/www/protected/controllers/site/ClubAction.php(36): ClubAction->actionCrew() 31 break; 32 case 'managers': 33 $this->actionManagers(); 34 break; 35 case 'crew': 36 $this->actionCrew(); 37 break; 38 case 'crewFilter': 39 $this->actionCrewFilter(); 40 break; 41 } |
#12 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/actions/CAction.php(76): ClubAction->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#13 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(308): CAction->runWithParams(array("url" => "wcshymkent")) 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; |
#14 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/filters/CFilterChain.php(133): CController->runAction(ClubAction) 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 } |
#15 |
+
–
/var/www/wclassshymkent/data/www/protected/controllers/SiteController.php(205): CFilterChain->run() 200 array('Партнеры и привилегии для членов клуба', array('site/partners')), 201 ), 'socials' => true 202 ); 203 204 205 $filterChain->run(); 206 } 207 208 public function actionSelectRegion() 209 { 210 $city = isset($_GET['id']) ? City::model()->findByPk($_GET['id']) : null; |
#16 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/filters/CInlineFilter.php(58): SiteController->filterLoadHeader(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 } |
#17 |
+
–
/var/www/wclassshymkent/data/www/yii/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 } |
#18 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#19 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CController.php(265): CController->runActionWithFilters(ClubAction, array("loadHeader")) 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); |
#20 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CWebApplication.php(282): CController->run("clubCrew") 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))); |
#21 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("site/clubCrew") 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. |
#22 |
+
–
/var/www/wclassshymkent/data/www/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#23 |
+
–
/var/www/wclassshymkent/data/www/wclass-shymkent.kz/index.php(7): CApplication->run() 2 $site = require("../site.php"); 3 4 require '../vendor/autoload.php'; 5 6 require($site['path']['framework'].'/yii.php'); 7 Yii::createWebApplication($site['path']['site'].'/config/main.php')->run(); |