CustomLabelRowSaver
Table of Contents
-
$_pCustomLabelCreate
: CustomLabelCreate
-
$_pLanguage
: Language
-
__construct()
: mixed
-
saveCustomLabels()
: mixed
-
addLocaleToModelForField()
: mixed
-
saveField()
: mixed
-
saveForFoundType()
: mixed
__construct()
public
__construct(CustomLabelCreate $pCustomLabelCreate, Language $pLanguage) : mixed
Parameters
-
$pCustomLabelCreate
: CustomLabelCreate
-
-
$pLanguage
: Language
-
Return values
mixed
—
saveCustomLabels()
public
saveCustomLabels(int $formId, array<string|int, mixed> $row, FieldsCollection $pUsedFieldsCollection) : mixed
Parameters
-
$formId
: int
-
-
$row
: array<string|int, mixed>
-
-
$pUsedFieldsCollection
: FieldsCollection
-
-
throws
-
RecordManagerInsertException
-
throws
-
UnknownFieldException
Return values
mixed
—
addLocaleToModelForField()
private
addLocaleToModelForField(CustomLabelModelField $pModel, string $locale, string $value) : mixed
Parameters
-
$pModel
: CustomLabelModelField
-
-
$locale
: string
-
-
$value
: string
-
Return values
mixed
—
saveField()
private
saveField(int $formId, Field $pField, array<string|int, mixed> $values) : mixed
Parameters
-
$formId
: int
-
-
$pField
: Field
-
-
$values
: array<string|int, mixed>
-
-
throws
-
RecordManagerInsertException
Return values
mixed
—
saveForFoundType()
private
saveForFoundType(int $formId, Field $pField, mixed $values) : mixed
Parameters
-
$formId
: int
-
-
$pField
: Field
-
-
$values
: mixed
-
-
throws
-
RecordManagerInsertException
Return values
mixed
—