framework/zii/widgets/jui/CJuiWidget.php
protected function registerCoreScripts()
	{
		$cs=Yii::app()->getClientScript();
		if(is_string($this->cssFile))
			$cs->registerCssFile($this->themeUrl.'/'.$this->theme.'/'.$this->cssFile);
		elseif(is_array($this->cssFile))
		{
			foreach($this->cssFile as $cssFile)
				$cs->registerCssFile($this->themeUrl.'/'.$this->theme.'/'.$cssFile);
		}

		$cs->registerCoreScript('jquery');
		if(is_string($this->scriptFile))
			$this->registerScriptFile($this->scriptFile);
		elseif(is_array($this->scriptFile))
		{
			foreach($this->scriptFile as $scriptFile)
				$this->registerScriptFile($scriptFile);
		}
	}
protected function registerCoreScripts()
	{
		$cs=Yii::app()->getClientScript();
		if(is_string($this->cssFile))
			$cs->registerCssFile($this->themeUrl.'/'.$this->theme.'/'.$this->cssFile);
		elseif(is_array($this->cssFile))
		{
			foreach($this->cssFile as $cssFile)
				$cs->registerCssFile($this->themeUrl.'/'.$this->theme.'/'.$cssFile);
		}

		$cs->registerCoreScript('jquery');
		if(is_string($this->scriptFile))
			$this->registerScriptFile($this->scriptFile);
		elseif(is_array($this->scriptFile))
		{
			foreach($this->scriptFile as $scriptFile)
				$this->registerScriptFile($scriptFile);
		}
	}
protected function registerCoreScripts ( ) { $ cs = Yii :: app ( ) -> getClientScript ( ) ; if ( is_string ( $ this -> cssFile ) ) $ cs -> registerCssFile ( $ this -> themeUrl . '/' . $ this -> theme . '/' . $ this -> cssFile ) ; elseif ( is_array ( $ this -> cssFile ) ) { foreach ( $ this -> cssFile as $ cssFile ) $ cs -> registerCssFile ( $ this -> themeUrl . '/' . $ this -> theme . '/' . $ cssFile ) ; } $ cs -> registerCoreScript ( 'jquery' ) ; if ( is_string ( $ this -> scriptFile ) ) $ this -> registerScriptFile ( $ this -> scriptFile ) ; elseif ( is_array ( $ this -> scriptFile ) ) { foreach ( $ this -> scriptFile as $ scriptFile ) $ this -> registerScriptFile ( $ scriptFile ) ; } }
Registers the core script files.
This method registers jquery and JUI JavaScript files and the theme CSS file.
Registers the core script files . This method registers jquery and JUI JavaScript files and the theme CSS file .