Documentation

AbstractTcf extends BaseSettings
in package

AbstractYes

Abstract implementation of the settings for the TCF compatibility.

Table of Contents

Constants

ALLOWED_SCOPE_OF_CONSENT  = [self::SCOPE_OF_CONSENT_SERVICE]
SCOPE_OF_CONSENT_SERVICE  = 'service-specific'

Properties

$settings  : Settings
See Settings

Methods

fourLetterLanguageCodeToTwoLetterCode()  : mixed
Sanitize a 4-letter language code to 2-letter language code as it is the only one which is currently supported by TCF.
getGvl()  : AbstractGvlPersistance
Get GVL persistence class.
getNextUpdateTime()  : mixed
Changes to the Global Vendor List are published weekly at 5:00 PM Central European Time on Thursdays.
getScopeOfConsent()  : string
Get scope of consent.
getSettings()  : mixed
Getter.
getVendorConfigurations()  : array<string|int, VendorConfiguration>
Get the list of created TCF vendor configurations.
isActive()  : bool
Check if compatibility is enabled.
setSettings()  : mixed
Setter.

Constants

public mixed ALLOWED_SCOPE_OF_CONSENT = [self::SCOPE_OF_CONSENT_SERVICE]
public mixed SCOPE_OF_CONSENT_SERVICE = 'service-specific'

Properties

Methods

fourLetterLanguageCodeToTwoLetterCode()

Sanitize a 4-letter language code to 2-letter language code as it is the only one which is currently supported by TCF.

public static fourLetterLanguageCodeToTwoLetterCode(string $language) : mixed
Parameters
$language : string

getNextUpdateTime()

Changes to the Global Vendor List are published weekly at 5:00 PM Central European Time on Thursdays.

public static getNextUpdateTime() : mixed

getScopeOfConsent()

Get scope of consent.

public abstract getScopeOfConsent() : string
Return values
string

Can be service

getSettings()

Getter.

public getSettings() : mixed
Tags
codeCoverageIgnore

isActive()

Check if compatibility is enabled.

public abstract isActive() : bool
Return values
bool

        
On this page

Search results