class JGoogleEmbed

Google API object class for the Joomla Platform.

Methods

__construct( Registry $options = null, JUri $uri = null)

Constructor.

string
isSecure()

Method to retrieve the javascript header for the embed API

string
getHeader()

Method to retrieve the header for the API

string
getBody()

Method to retrieve the body for the API

null
echoHeader()

Method to output the javascript header for the embed API

null
echoBody()

Method to output the body for the API

mixed
getOption( string $key)

Get an option from the JGoogleEmbed instance.

setOption( string $key, mixed $value)

Set an option for the JGoogleEmbed instance.

Details

__construct( Registry $options = null, JUri $uri = null)

Constructor.

Parameters

Registry $options Google options object
JUri $uri URL of the page being rendered

string isSecure()

Method to retrieve the javascript header for the embed API

Return Value

string The header

abstract string getHeader()

Method to retrieve the header for the API

Return Value

string The header

abstract string getBody()

Method to retrieve the body for the API

Return Value

string The body

null echoHeader()

Method to output the javascript header for the embed API

Return Value

null

null echoBody()

Method to output the body for the API

Return Value

null

mixed getOption( string $key)

Get an option from the JGoogleEmbed instance.

Parameters

string $key The name of the option to get.

Return Value

mixed The option value.

JGoogleEmbed setOption( string $key, mixed $value)

Set an option for the JGoogleEmbed instance.

Parameters

string $key The name of the option to set.
mixed $value The option value to set.

Return Value

JGoogleEmbed This object for method chaining.