FormFieldValidator
Table of Contents
-
$_multipleSingleSelectAllowed
: array<string|int, mixed>
-
$_pRequestSanitizer
: RequestVariablesSanitizer
-
$_pSearchcriteriaFields
: SearchcriteriaFields
-
__construct()
: mixed
-
getValidatedValues()
: array<string|int, mixed>
-
getValidatedValue()
: mixed
-
getValueFromRequest()
: mixed
-
isEmptyValue()
: bool
-
isMultipleSingleSelectAllowed()
: bool
$_multipleSingleSelectAllowed
private
array<string|int, mixed>
$_multipleSingleSelectAllowed
= ['objekttyp', 'regionaler_zusatz']
$_pRequestSanitizer
private
RequestVariablesSanitizer
$_pRequestSanitizer
$_pSearchcriteriaFields
private
SearchcriteriaFields
$_pSearchcriteriaFields
= null
__construct()
public
__construct(RequestVariablesSanitizer $pRequestSanitizer, SearchcriteriaFields $pSearchcriteriaFields) : mixed
Parameters
-
$pRequestSanitizer
: RequestVariablesSanitizer
-
-
$pSearchcriteriaFields
: SearchcriteriaFields
-
Return values
mixed
—
getValidatedValues()
public
getValidatedValues(array<string|int, mixed> $formFields, FieldsCollection $pFieldsCollection) : array<string|int, mixed>
Parameters
-
$formFields
: array<string|int, mixed>
-
-
$pFieldsCollection
: FieldsCollection
-
-
throws
-
UnknownFieldException
Return values
array<string|int, mixed>
—
getValidatedValue()
private
getValidatedValue(mixed $value, Field $pField) : mixed
Parameters
-
$value
: mixed
-
-
$pField
: Field
-
Return values
mixed
—
getValueFromRequest()
private
getValueFromRequest(string $dataType, string $fieldName, string $module) : mixed
Parameters
-
$dataType
: string
-
-
$fieldName
: string
-
-
$module
: string
-
Return values
mixed
—
isEmptyValue()
private
isEmptyValue(string $fieldName[, string $type = null ]) : bool
Parameters
-
$fieldName
: string
-
-
$type
: string
= null
-
Return values
bool
—
isMultipleSingleSelectAllowed()
private
isMultipleSingleSelectAllowed(string $fieldName, string $module) : bool
Parameters
-
$fieldName
: string
-
-
$module
: string
-
Return values
bool
—