JGoogleEmbed
Google API object class for the Joomla Platform.
since |
3.1.4 |
---|---|
deprecated |
4.0 Use the |
package |
Joomla.Platform |
Methods
__construct
Constructor.
__construct(\Joomla\Registry\Registry $options = null, \JUri $uri = null)
since |
3.1.4 |
---|
Arguments
- $options
\Joomla\Registry\Registry
Google options object- $uri
\JUri
URL of the page being rendered
echoBody
Method to output the body for the API
echoBody() : null
since |
3.1.4 |
---|
Response
null
echoHeader
Method to output the javascript header for the embed API
echoHeader() : null
since |
3.1.4 |
---|
Response
null
getBody
Method to retrieve the body for the API
getBody() : string
since |
3.1.4 |
---|
Response
string
The body
getHeader
Method to retrieve the header for the API
getHeader() : string
since |
3.1.4 |
---|
Response
string
The header
getOption
Get an option from the JGoogleEmbed instance.
getOption(string $key) : mixed
since |
3.1.4 |
---|
Arguments
- $key
string
The name of the option to get.
Response
mixed
The option value.
isSecure
Method to retrieve the javascript header for the embed API
isSecure() : string
since |
3.1.4 |
---|
Response
string
The header
setOption
Set an option for the JGoogleEmbed instance.
setOption(string $key, mixed $value) : \JGoogleEmbed
since |
3.1.4 |
---|
Arguments
- $key
string
The name of the option to set.- $value
mixed
The option value to set.
Response
\JGoogleEmbed
This object for method chaining.
Properties
uri
URI of the page being rendered.
since |
3.1.4 |
---|
Type(s)
\JUri