private function scriptSrc($onload = null, $render = null, $hl = null)
    {
        $queryString = http_build_query(compact('onload', 'render', 'hl'));
        return self::SCRIPT_URL . ($queryString ? '?' . $queryString : '');
    }
private function scriptSrc($onload = null, $render = null, $hl = null)
    {
        $queryString = http_build_query(compact('onload', 'render', 'hl'));
        return self::SCRIPT_URL . ($queryString ? '?' . $queryString : '');
    }
private function scriptSrc ( $ onload = null , $ render = null , $ hl = null ) { $ queryString = http_build_query ( compact ( 'onload' , 'render' , 'hl' ) ) ; return self :: SCRIPT_URL . ( $ queryString ? '?' . $ queryString : '' ) ; }
Generates the script source based on the options.

@param  string $onload The name of a JavaScript function to be called on load.
@param  string $render When to render the widget ('explicit' or 'onload').
@param  string $hl     The language to be used for the widget.
@return string         The URL for the script.
Generates the script source based on the options .