/www/wwwroot/test2021.125job.com/vendors/framework/base/CModule.php(105)
093 /** 094 * Getter magic method. 095 * This method is overridden to support accessing application components 096 * like reading module properties. 097 * @param string $name application component or property name 098 * @return mixed the named property value 099 */ 100 public function __get($name) 101 { 102 if($this->hasComponent($name)) 103 return $this->getComponent($name); 104 else 105 return parent::__get($name); 106 } 107 108 /** 109 * Checks if a property value is null. 110 * This method overrides the parent implementation by checking 111 * if the named application component is loaded. 112 * @param string $name the property name or the event name 113 * @return boolean whether the property value is null 114 */ 115 public function __isset($name) 116 { 117 if($this->hasComponent($name))
#0 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/web/CThemeManager.php(98): CThemeManager->setBasePath("/www/wwwroot/test2021.125job.com/web/themes") 093 * @return string the base path for all themes. Defaults to "WebRootPath/themes". 094 */ 095 public function getBasePath() 096 { 097 if($this->_basePath===null) 098 $this->setBasePath(dirname(Yii::app()->getRequest()->getScriptFile()).DIRECTORY_SEPARATOR.self::DEFAULT_BASEPATH); 099 return $this->_basePath; 100 } 101 102 /** 103 * @param string $value the base path for all themes. |
#1 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/web/CThemeManager.php(60): CThemeManager->getBasePath() 55 * @param string $name name of the theme to be retrieved 56 * @return CTheme the theme retrieved. Null if the theme does not exist. 57 */ 58 public function getTheme($name) 59 { 60 $themePath=$this->getBasePath().DIRECTORY_SEPARATOR.$name; 61 if(is_dir($themePath)) 62 { 63 $class=Yii::import($this->themeClass, true); 64 return new $class($name,$themePath,$this->getBaseUrl().'/'.$name); 65 } |
#2 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/web/CWebApplication.php(257): CThemeManager->getTheme("2014") 252 * @return CTheme the theme used currently. Null if no theme is being used. 253 */ 254 public function getTheme() 255 { 256 if(is_string($this->_theme)) 257 $this->_theme=$this->getThemeManager()->getTheme($this->_theme); 258 return $this->_theme; 259 } 260 261 /** 262 * @param string $value the theme name |
#3 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/base/CComponent.php(111): CWebApplication->getTheme() 106 */ 107 public function __get($name) 108 { 109 $getter='get'.$name; 110 if(method_exists($this,$getter)) 111 return $this->$getter(); 112 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 113 { 114 // duplicating getEventHandlers() here for performance 115 $name=strtolower($name); 116 if(!isset($this->_e[$name])) |
#4 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/base/CModule.php(105): CComponent->__get("theme") 100 public function __get($name) 101 { 102 if($this->hasComponent($name)) 103 return $this->getComponent($name); 104 else 105 return parent::__get($name); 106 } 107 108 /** 109 * Checks if a property value is null. 110 * This method overrides the parent implementation by checking |
#5 |
+
–
/www/wwwroot/test2021.125job.com/components/Controller.php(37): CModule->__get("theme") 32 public $mobileurl; 33 34 35 public function init() { 36 if(!empty($this->themes)) Yii::app()->theme = $this->themes; 37 $this->media = Yii::app()->theme->baseUrl."/images/"; 38 39 } 40 41 public function beforeAction($action) { 42 $ur = $_SERVER["REQUEST_URI"]; |
#6 |
+
–
/www/wwwroot/test2021.125job.com/components/UController.php(16): Controller->init() 11 public $pageDesc; 12 public $topmenuwidget_menuid = 0; 13 14 15 public function init() { 16 parent::init(); 17 } 18 19 public function beforeAction($action) { 20 $this->media .= "{$this->id}/"; 21 $this->pageKeyword = Yii::t("site","SEO关键词"); |
#7 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/web/CWebApplication.php(281): UController->init() 276 if(($ca=$this->createController($route))!==null) 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}".', |
#8 |
+
–
/www/wwwroot/test2021.125job.com/vendors/framework/web/CWebApplication.php(141): CWebApplication->runController("hr/personview") 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. |
#9 |
+
–
/www/wwwroot/test2021.125job.com/vendors/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 /** |
#10 |
+
–
/www/wwwroot/test2021.125job.com/web/index.php(12): CApplication->run() 07 08 $config = dirname(__FILE__).'/../config/main.php'; 09 10 //Yii run you 11 require_once(dirname(__FILE__).'/../vendors/framework/yii.php'); 12 Yii::createWebApplication($config)->run(); |