SearchParametersModelBuilder
in package
Table of Contents
- $_pCompoundFieldsFilter : CompoundFieldsFilter
- $_pFieldsCollectionBuilderShort : FieldsCollectionBuilderShort
- $_pLogger : Logger
- $_pRequestVariablesSanitizer : RequestVariablesSanitizer
- __construct() : mixed
- SearchParametersModelBuilder constructor.
- build() : SearchParametersModel
Properties
$_pCompoundFieldsFilter
private
CompoundFieldsFilter
$_pCompoundFieldsFilter
$_pFieldsCollectionBuilderShort
private
FieldsCollectionBuilderShort
$_pFieldsCollectionBuilderShort
$_pLogger
private
Logger
$_pLogger
$_pRequestVariablesSanitizer
private
RequestVariablesSanitizer
$_pRequestVariablesSanitizer
Methods
__construct()
SearchParametersModelBuilder constructor.
public
__construct(CompoundFieldsFilter $pCompoundFieldsFilter, RequestVariablesSanitizer $pRequestVariablesSanitizer, Logger $pLogger, FieldsCollectionBuilderShort $pFieldsCollectionBuilderShort) : mixed
Parameters
- $pCompoundFieldsFilter : CompoundFieldsFilter
- $pRequestVariablesSanitizer : RequestVariablesSanitizer
- $pLogger : Logger
- $pFieldsCollectionBuilderShort : FieldsCollectionBuilderShort
Return values
mixed —build()
public
build(array<string|int, mixed> $filterableFields, string $module) : SearchParametersModel
Parameters
- $filterableFields : array<string|int, mixed>
- $module : string