framework/zii/widgets/jui/CJuiWidget.php
protected function resolvePackagePath()
	{
		if($this->scriptUrl===null || $this->themeUrl===null)
		{
			$cs=Yii::app()->getClientScript();
			if($this->scriptUrl===null)
				$this->scriptUrl=$cs->getCoreScriptUrl().'/jui/js';
			if($this->themeUrl===null)
				$this->themeUrl=$cs->getCoreScriptUrl().'/jui/css';
		}
	}
protected function resolvePackagePath()
	{
		if($this->scriptUrl===null || $this->themeUrl===null)
		{
			$cs=Yii::app()->getClientScript();
			if($this->scriptUrl===null)
				$this->scriptUrl=$cs->getCoreScriptUrl().'/jui/js';
			if($this->themeUrl===null)
				$this->themeUrl=$cs->getCoreScriptUrl().'/jui/css';
		}
	}
protected function resolvePackagePath ( ) { if ( $ this -> scriptUrl === null || $ this -> themeUrl === null ) { $ cs = Yii :: app ( ) -> getClientScript ( ) ; if ( $ this -> scriptUrl === null ) $ this -> scriptUrl = $ cs -> getCoreScriptUrl ( ) . '/jui/js' ; if ( $ this -> themeUrl === null ) $ this -> themeUrl = $ cs -> getCoreScriptUrl ( ) . '/jui/css' ; } }
Determine the JUI package installation path.
This method will identify the JavaScript root URL and theme root URL.
If they are not explicitly specified, it will publish the included JUI package
and use that to resolve the needed paths.
Determine the JUI package installation path . This method will identify the JavaScript root URL and theme root URL . If they are not explicitly specified it will publish the included JUI package and use that to resolve the needed paths .