phpDocumentor

LegaltextUpdateService
in package

Table of Contents

CONTENT_GROUP_IMPRINT  = 4
CONTENT_GROUP_PAYMENT_AND_SHIPPING  = 3889891
CONTENT_GROUP_PRIVACY  = 2
CONTENT_GROUP_TOS  = 3
CONTENT_GROUP_WITHDRAWAL_1  = 3889896
CONTENT_GROUP_WITHDRAWAL_2  = 3889897
CONTENT_GROUP_WITHDRAWAL_3  = 3889898
CONTENT_GROUP_WITHDRAWAL_4  = 3889899
$configurationService  : ConfigurationService
$connection  : Connection
$languageReadService  : LanguageReadService
__construct()  : mixed
updateImprint()  : void
updatePaymentAndShipping()  : void
updatePrivacyNotice()  : void
updateTermsOfService()  : void
updateTermsOfServicePdf()  : void
Updates ToS text for inclusion in PDF invoices.
updateWithdrawal1()  : void
updateWithdrawal2()  : void
updateWithdrawal3()  : void
updateWithdrawal4()  : void
updateWithdrawalPdf()  : void
getValidLanguageCodes()  : array<string|int, mixed>
Returns an array of valid, configured language codes.
updateContentHeading()  : void
updateContentText()  : void

Constants

Properties

Methods

updateImprint()

public updateImprint(string $imprintText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$imprintText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updatePaymentAndShipping()

public updatePaymentAndShipping(string $paymentAndShippingText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$paymentAndShippingText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updatePrivacyNotice()

public updatePrivacyNotice(string $privacyText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$privacyText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateTermsOfService()

public updateTermsOfService(string $tosText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$tosText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateTermsOfServicePdf()

Updates ToS text for inclusion in PDF invoices.

public updateTermsOfServicePdf(string $tosText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$tosText : string
$languageCode : string
$heading : string|null = null
Return values
void

updateWithdrawal1()

public updateWithdrawal1(string $withdrawalText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$withdrawalText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateWithdrawal2()

public updateWithdrawal2(string $withdrawalText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$withdrawalText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateWithdrawal3()

public updateWithdrawal3(string $withdrawalText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$withdrawalText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateWithdrawal4()

public updateWithdrawal4(string $withdrawalText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$withdrawalText : string
$languageCode : string
$heading : string|null = null
Tags
throws
LegaltextUpdateException
Return values
void

updateWithdrawalPdf()

public updateWithdrawalPdf(string $withdrawalText, string $languageCode[, string|null $heading = null ]) : void
Parameters
$withdrawalText : string
$languageCode : string
$heading : string|null = null
Return values
void

getValidLanguageCodes()

Returns an array of valid, configured language codes.

private getValidLanguageCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

updateContentHeading()

private updateContentHeading(int $contentGroupId, string $heading, string $languageCode) : void
Parameters
$contentGroupId : int
$heading : string
$languageCode : string
Tags
throws
DBALException
Return values
void

updateContentText()

private updateContentText(int $contentGroupId, string $text, string $languageCode) : void
Parameters
$contentGroupId : int
$text : string
$languageCode : string
Tags
throws
DBALException
Return values
void

Search results