LegalTextVersionHelper

Class LegalTextVersionHelper

This class provides methods in order to get the legal text version of a legal text like eg. the privacy text.

category

System

package

Agreement

Methods

LegalTextVersionHelper constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Returns the AGB text version by the provided language ID.

getAGBTextVersionByLanguageId(\IdType $languageId) : string

Arguments

$languageId

\IdType

Language ID.

Response

string

AGB text version

Returns the privacy text version by the provided language ID.

getPrivacyTextVersionByLanguageId(\IdType $languageId) : string

Arguments

$languageId

\IdType

Language ID.

Response

string

Privacy text version

Returns the transport text version by the provided language ID.

getTransportTextVersionByLanguageId(\IdType $languageId) : string

Arguments

$languageId

\IdType

Language ID.

Response

string

Transport text version

Returns the withdrawal text version by the provided language ID.

getWithdrawalTextVersionByLanguageId(\IdType $languageId) : string

Arguments

$languageId

\IdType

Language ID.

Response

string

Withdrawal text version

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder