framework/web/helpers/CGoogleApi.php
public static function init($apiKey=null)
	{
		if($apiKey===null)
			return CHtml::scriptFile(self::$bootstrapUrl);
		else
			return CHtml::scriptFile(self::$bootstrapUrl.'?key='.$apiKey);
	}
public static function init($apiKey=null)
	{
		if($apiKey===null)
			return CHtml::scriptFile(self::$bootstrapUrl);
		else
			return CHtml::scriptFile(self::$bootstrapUrl.'?key='.$apiKey);
	}
public static function init ( $ apiKey = null ) { if ( $ apiKey === null ) return CHtml :: scriptFile ( self :: $ bootstrapUrl ) ; else return CHtml :: scriptFile ( self :: $ bootstrapUrl . '?key=' . $ apiKey ) ; }
Renders the jsapi script file.
@param string $apiKey the API key. Null if you do not have a key.
@return string the script tag that loads Google jsapi.
Renders the jsapi script file .