DefaultValueRowSaver
Table of Contents
-
$_pDefaultValueCreate
: DefaultValueCreate
-
$_pLanguage
: Language
-
__construct()
: mixed
-
saveDefaultValues()
: mixed
-
addLocaleToModelForText()
: mixed
-
saveBool()
: mixed
-
saveForFoundType()
: mixed
-
saveGeneric()
: mixed
-
saveMultiSelect()
: mixed
-
saveNumericRange()
: mixed
-
saveText()
: mixed
__construct()
public
__construct(DefaultValueCreate $pDefaultValueCreate, Language $pLanguage) : mixed
Parameters
-
$pDefaultValueCreate
: DefaultValueCreate
-
-
$pLanguage
: Language
-
Return values
mixed
—
saveDefaultValues()
public
saveDefaultValues(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
—
addLocaleToModelForText()
private
addLocaleToModelForText(DefaultValueModelText $pModel, string $locale, string $value) : mixed
Parameters
-
$pModel
: DefaultValueModelText
-
-
$locale
: string
-
-
$value
: string
-
Return values
mixed
—
saveBool()
private
saveBool(int $formId, Field $pField, string $value) : mixed
Parameters
-
$formId
: int
-
-
$pField
: Field
-
-
$value
: string
-
-
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
—
saveGeneric()
private
saveGeneric(int $formId, Field $pField, string $value) : mixed
Parameters
-
$formId
: int
-
-
$pField
: Field
-
-
$value
: string
-
-
throws
-
RecordManagerInsertException
Return values
mixed
—
saveMultiSelect()
private
saveMultiSelect(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
—
saveNumericRange()
private
saveNumericRange(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
—
saveText()
private
saveText(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
—