Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JGoogleEmbed
+ Graphe d'héritage de JGoogleEmbed:

Fonctions membres publiques

 __construct (Registry $options=null, JUri $uri=null)
 
 isSecure ()
 
 getHeader ()
 
 getBody ()
 
 echoHeader ()
 
 echoBody ()
 
 getOption ($key)
 
 setOption ($key, $value)
 

Attributs protégés

 $options
 
 $uri
 

Description détaillée

Google API object class for the Joomla Platform.

Depuis
3.1.4
Obsolète:
4.0 Use the joomla/google package via Composer instead

Documentation des constructeurs et destructeur

◆ __construct()

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

Constructor.

Paramètres
Registry$optionsGoogle options object
JUri$uriURL of the page being rendered
Depuis
3.1.4

Références $options, et $uri.

Documentation des fonctions membres

◆ echoBody()

echoBody ( )

Method to output the body for the API

Renvoie
null
Depuis
3.1.4

◆ echoHeader()

echoHeader ( )

Method to output the javascript header for the embed API

Renvoie
null
Depuis
3.1.4

◆ getBody()

getBody ( )
abstract

Method to retrieve the body for the API

Renvoie
string The body
Depuis
3.1.4

◆ getHeader()

getHeader ( )
abstract

Method to retrieve the header for the API

Renvoie
string The header
Depuis
3.1.4

◆ getOption()

getOption (   $key)

Get an option from the JGoogleEmbed instance.

Paramètres
string$keyThe name of the option to get.
Renvoie
mixed The option value.
Depuis
3.1.4

Références $key.

◆ isSecure()

isSecure ( )

Method to retrieve the javascript header for the embed API

Renvoie
string The header
Depuis
3.1.4

◆ setOption()

setOption (   $key,
  $value 
)

Set an option for the JGoogleEmbed instance.

Paramètres
string$keyThe name of the option to set.
mixed$valueThe option value to set.
Renvoie
JGoogleEmbed This object for method chaining.
Depuis
3.1.4

Références $key, et $value.

Documentation des champs

◆ $options

$options
protected

◆ $uri

$uri
protected

La documentation de cette classe a été générée à partir du fichier suivant :