AdvertisingGoogle extends AbstractExtension implements GlobalsInterface
Interfaces, Classes and Traits
- GlobalsInterface
Table of Contents
- $adsGoogle : mixed
- $templatePartialsBlock : mixed
- __construct() : mixed
- advertisingGoogleIsActived() : bool
- Determine if Google AdSense is active.
- getFunctions() : mixed
- {@inheritdoc}
- getGlobals() : mixed
- {@inheritdoc}
- showGoogleAd() : string
- Show ad of Google.
Properties
$adsGoogle
protected
mixed
$adsGoogle
$templatePartialsBlock
protected
mixed
$templatePartialsBlock
Methods
__construct()
public
__construct(AdsenseAdvertising $adsGoogle) : mixed
Parameters
- $adsGoogle : AdsenseAdvertising
Return values
mixed —advertisingGoogleIsActived()
Determine if Google AdSense is active.
public
advertisingGoogleIsActived() : bool
Return values
bool —getFunctions()
{@inheritdoc}
public
getFunctions() : mixed
Return values
mixed —getGlobals()
{@inheritdoc}
public
getGlobals() : mixed
Return values
mixed —showGoogleAd()
Show ad of Google.
public
showGoogleAd(Environment $env, string $adSlot) : string
Parameters
- $env : Environment
- $adSlot : string