Documentation

AbstractGoogleConsentMode extends BaseSettings
in package

AbstractYes

Abstract implementation of the settings for the Google Consent Mode compatibility.

Table of Contents

Properties

$settings  : Settings
See Settings

Methods

calculateRecommandations()  : mixed
Calculate some recommendations depending on the available services and if GCM is active or not.
getConsentModes()  : mixed
Get the consent modes as array.
getSettings()  : mixed
Getter.
isCollectAdditionalDataViaUrlParameters()  : bool
Check if collect additional data via URL parameters is enabled.
isEnabled()  : bool
Check if compatibility is enabled.
isListPurposes()  : bool
Naming of requested consent types in first view.
isRedactAdsDataWithoutConsent()  : bool
Check if collect additional data via URL parameters is enabled.
isShowRecommandationsWithoutConsent()  : bool
Check if show recommendations for using Google services without consent is enabled.
setSettings()  : mixed
Setter.

Properties

Methods

calculateRecommandations()

Calculate some recommendations depending on the available services and if GCM is active or not.

public calculateRecommandations([bool $dismissedNoConsentTypes = false ][, array<string|int, int> $dismissedNoLegitimateInterest = [] ][, array<string|int, string> $dismissedRequiringGcmActive = [] ]) : mixed
Parameters
$dismissedNoConsentTypes : bool = false
$dismissedNoLegitimateInterest : array<string|int, int> = []
$dismissedRequiringGcmActive : array<string|int, string> = []

getSettings()

Getter.

public getSettings() : mixed
Tags
codeCoverageIgnore

isCollectAdditionalDataViaUrlParameters()

Check if collect additional data via URL parameters is enabled.

public abstract isCollectAdditionalDataViaUrlParameters() : bool
Return values
bool

isListPurposes()

Naming of requested consent types in first view.

public abstract isListPurposes() : bool
Return values
bool

isRedactAdsDataWithoutConsent()

Check if collect additional data via URL parameters is enabled.

public abstract isRedactAdsDataWithoutConsent() : bool
Return values
bool

isShowRecommandationsWithoutConsent()

Check if show recommendations for using Google services without consent is enabled.

public abstract isShowRecommandationsWithoutConsent() : bool
Return values
bool

        
On this page

Search results