Class X2ClientScript
Custom extension of CClientScript used by the app.
- NLSClientScript
 - 
			
X2ClientScript			
			
			
		 
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		
		#
		 renderOnRequest( boolean $includeScriptFiles = false )
		Inserts the scripts at the beginning of the body section.  | 
	
			 public 
			
			
			
		 | 
		
		#
		 echoScripts( mixed $captureScripts = false )
		Echoes out registered scripts and the necessary JavaScript to load all prerequisite script files.  | 
	
			 public 
			
			
			
		 | 
		
		#
		 registerPackages( Array $packages, boolean $useDefaultPackages = false )
		Registers a set of packages  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		
		#
		 getCacheBusterSuffix( mixed $url = null )
		Returns a cache busting url suffix to be appended to JS/CSS files before registration Checks for presence of query string to determine the appropriate separator between the url and the cache buster string.  | 
	
			 public 
			
			
			
		 | 
		
		#
		 registerResponsiveCssFile( mixed $url, mixed $media = '' )
		Allows css containing media queries to be added conditionally  | 
	
			 public 
			
			
			
		 | 
		
		#
		 registerResponsiveCss( mixed $id, mixed $css, mixed $media = '' )
		Allows css containing media queries to be added conditionally  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 registerScriptFile( mixed $url, mixed $position = null, array $htmlOptions = array() )
		Overrides parent method to add cache buster parameter and substitute the asset domain if requested  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 protected 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 registerCssFile( mixed $url, mixed $media = '' )
		Overrides parent method to add cache buster parameter and substitute the asset domain if requested  | 
	
			 public 
			
			
			
		 | 
		
		#
		 registerCssFiles( string $id, array $filenames, boolean $prependThemeUrl = true, mixed $media = '' )
		Registers a set of css files using cache busting. For ie < 10, files are imported using css import statements within style tags. This is done to get around the 31 stylesheet limit in ie 6-9.  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 registerMain( )
		Performs all the necessary JavaScript/CSS initializations for most parts of the app.  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
			public  
			boolean
		 | 
		$useAbsolutePaths | false | 
		
			public  
			boolean
		 | 
		$fullscreen | 
			#
			 Whether to render in full screen mode  |