phpDocumentor

KlarnaHubTermsAndConditions
in package

Class KlarnaHubTermsAndConditions

Processes the Klarna terms and conditions content and applies the Klarna related texts.

Tags
subpackage

GambioHub

Table of Contents

$configurationKey  : string
$contentBody  : string
$defaultLanguageCode  : string
$variableName  : string
__construct()  : mixed
KlarnaHubTermsAndConditions constructor.
getContent()  : string
Returns the processed content.
_getLanguageCode()  : string
Get the code of the language to be used.

Properties

Methods

__construct()

KlarnaHubTermsAndConditions constructor.

public __construct(string $contentBody) : mixed
Parameters
$contentBody : string

Pre-rendered content body content that was not yet processed by this class.

Return values
mixed

_getLanguageCode()

Get the code of the language to be used.

protected _getLanguageCode() : string

There are multiple fallback levels in case no language code was stored in the current session.

Return values
string

Search results