/home/alhayatm/public_html/protected/views/home/staffm.php(47)
35 <div class="my-img"> 36 <div class="my-details"> 37 <div class="container-fluid"> 38 <div class="row"> 39 <!-- <col-xs-12>--> 40 <!-- <h4 class="bold main-color my-name fx"--> 41 <!-- data-animate="slideInDown">--><?php //echo yii::t('website' , 'staffm.personal.data.title')?><!--</h4>--> 42 <!-- </col-xs-12>--> 43 </div> 44 <div id="staffm_pdata" class="row"> 45 <div class="col-sm-3 col-xs-12 text-center"> 46 <img id="stafm_img" class="fx" 47 data-animate="fadeInLeft" alt="" src="<?php echo $staffModel->profileImg->getPath() ?>" 48 alt="<?php echo $staffModel->getFullName(); ?>"> 49 <?php if(count($staffModel->getAllVideos()) > 0) : ?> 50 <a class="videos-number" href="<?php echo Yii::app()->createUrl('home/StaffVideos' , array('lang' => 51 Yii::app()->language , 'id' => $staffModel->id))?>"><?php echo Yii::t('website' , 'staffm.videos')?> <span class="badge"> 52 <?php echo count($staffModel->getAllVideos()) ?> </span></a><br> 53 <?php endif ; ?> 54 </div> 55 <div class="col-sm-4 col-xs-6 col-xxs-12 staffm_data"> 56 <h3><?php echo $staffModel->getFullName() ; ?></h3> 57 <ul class="list alt list-bookmark"> 58 <?php if(!empty($staffModel->date_of_birth)): ?> 59 <li class="fx" data-animate="slideInDown"><strong><?php echo Yii::t('website', 'staff.dob'); ?>
#0 |
+
–
/home/alhayatm/public_html/framework/web/CBaseController.php(126): require() 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 } |
#1 |
+
–
/home/alhayatm/public_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/alhayatm/public_html/protected/views/home/staffm.php", array("staffModel" => Staff, "banner" => Banner), 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); |
#2 |
+
–
/home/alhayatm/public_html/framework/web/CController.php(869): CBaseController->renderFile("/home/alhayatm/public_html/protected/views/home/staffm.php", array("staffModel" => Staff, "banner" => Banner), 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 |
#3 |
+
–
/home/alhayatm/public_html/framework/web/CController.php(782): CController->renderPartial("staffm", array("staffModel" => Staff, "banner" => Banner), 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 |
#4 |
+
–
/home/alhayatm/public_html/protected/controllers/HomeController.php(673): CController->render("staffm", array("staffModel" => Staff, "banner" => Banner)) 668 $staffModel->attributes = $_GET['Staff']; 669 } 670 $banner = CommonFunctions::getBanner('staff') ; 671 $this->render('staffm', array( 672 'staffModel' => $staffModel, 673 'banner' =>$banner, 674 )); 675 } 676 677 678 |
#5 |
unknown(0): HomeController->actionStaffM("162", "dr-mahmoud-alaska-Rheumatologist", "en")
|
#6 |
+
–
/home/alhayatm/public_html/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(HomeController, array("162", "dr-mahmoud-alaska-Rheumatologist", "en")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#7 |
+
–
/home/alhayatm/public_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(HomeController, ReflectionMethod, array("lang" => "en", "sId" => "162", "slug" => "dr-mahmoud-alaska-Rheumatologist")) 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 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#8 |
+
–
/home/alhayatm/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("lang" => "en", "sId" => "162", "slug" => "dr-mahmoud-alaska-Rheumatologist")) 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; |
#9 |
+
–
/home/alhayatm/public_html/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 } |
#10 |
+
–
/home/alhayatm/public_html/protected/components/Controller.php(323): CFilterChain->run() 318 $criteriaDoctor = new CDbCriteria(); 319 $criteriaDoctor->order = 'id'; 320 $criteriaDoctor->compare('job_id',Job::model()->find('title=:title',array('title'=>'Doctor'))->id); 321 $criteriaDoctor->compare('s_active' , 1) ; 322 $this->doctors = Staff::model()->findAll($criteriaDoctor); 323 $chain->run(); 324 } 325 326 public function redirect_to_uri($controller , $uri){ 327 $controller->redirect($uri) ; 328 } |
#11 |
+
–
/home/alhayatm/public_html/framework/web/filters/CInlineFilter.php(58): Controller->filterLoadFrontEnd(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 } |
#12 |
+
–
/home/alhayatm/public_html/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 } |
#13 |
+
–
/home/alhayatm/public_html/protected/components/Controller.php(278): CFilterChain->run() 273 274 }else{ 275 Yii::app()->language = 'en'; 276 } 277 } 278 $chain->run(); 279 } 280 281 public function filterCheckAccess($chain){ 282 if(Yii::app()->user->isGuest){ 283 $this->redirect(array('home/login')); |
#14 |
+
–
/home/alhayatm/public_html/framework/web/filters/CInlineFilter.php(58): Controller->filterCheckSiteLanguage(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 } |
#15 |
+
–
/home/alhayatm/public_html/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 } |
#16 |
+
–
/home/alhayatm/public_html/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 /** |
#17 |
+
–
/home/alhayatm/public_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("checkAccess -home,error,news,services,service,staff,gallery,gall...", "checkAdminAccess -home,error,news,services,service,staff,gallery...", "CheckSiteLanguage +home,testHome,error,news,services,service,sta...", "loadFrontEnd +home,error,news,services,service,staff,gallery,gal...", ...)) 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); |
#18 |
+
–
/home/alhayatm/public_html/framework/web/CWebApplication.php(282): CController->run("staffm") 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 |
+
–
/home/alhayatm/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("home/staffm") 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 |
+
–
/home/alhayatm/public_html/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 /** |
#21 |
+
–
/home/alhayatm/public_html/index.php(21): CApplication->run() 16 // //specify how many levels of call stack should be shown in each log message 17 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 18 // 19 20 require_once($yii); 21 Yii::createWebApplication($config)->run(); 22 |