phpDocumentor

AgreementStoreHelper
in package

Class AgreementStoreHelper

Tags
category

System

Table of Contents

store()  : mixed
Store an agreement
getConfirmationTextByTextType()  : int
Returns the content group id by the provided legal text type.
getContentGroupByTextType()  : int
Returns the content group id by the provided legal text type.
getLegalTextVersionByTextType()  : string
Returns the content group id by the provided legal text type.

Methods

getConfirmationTextByTextType()

Returns the content group id by the provided legal text type.

private static getConfirmationTextByTextType(string $textType, string $languageId) : int
Parameters
$textType : string

Use the LegalTextType class constants.

$languageId : string

Language ID.

Return values
int

getContentGroupByTextType()

Returns the content group id by the provided legal text type.

private static getContentGroupByTextType(string $textType) : int
Parameters
$textType : string

Use the LegalTextType class constants.

Return values
int

Content group.

getLegalTextVersionByTextType()

Returns the content group id by the provided legal text type.

private static getLegalTextVersionByTextType(string $textType, int $languageId) : string
Parameters
$textType : string

Use the LegalTextType class constants.

$languageId : int

Language ID.

Return values
string

Legal text version.

Search results