FormModelBuilderSimilarEstateSettings
extends FormModelBuilder
in package
Tags
Table of Contents
- CONFIG_FIELDS = 'fields'
- $_formModules : array<string|int, mixed>
- $_pDataSimilarView : DataSimilarView
- $_pFieldnames : Fieldnames
- $_pInputModelSimilarViewFactory : InputModelOptionFactorySimilarView
- $_values : array<string|int, mixed>
- createButtonModelFieldsConfigByCategory() : InputModelDB
- createInputModelFieldsConfigByCategory() : InputModelDB
- createInputModelSameEstateAmount() : InputModelOption
- createInputModelSameEstatePostalCode() : InputModelOption
- createInputModelSameEstateRadius() : InputModelOption
- createInputModelSimilarEstateKind() : InputModelDB
- createInputModelSimilarEstateMarketingMethod() : InputModelOption
- createInputModelTemplate() : InputModelOption
- createSortableFieldList() : InputModelOption
- generate() : FormModel
- getCheckboxEnableSimilarEstates() : InputModelDB
- setInputModelSimilarViewFactory() : mixed
- setValues() : mixed
- getFieldnames() : Fieldnames
- getValue() : mixed
- readExposes() : array<string|int, mixed>
- readFieldnames() : array<string|int, mixed>
- readFilters() : array<string|int, mixed>
- readTemplatePaths() : array<string|int, mixed>
- setFieldnames() : mixed
- getFieldsCollection() : FieldsCollection
- getTemplateValueByField() : string
Constants
CONFIG_FIELDS
public
mixed
CONFIG_FIELDS
= 'fields'
Properties
$_formModules
private
array<string|int, mixed>
$_formModules
= []
$_pDataSimilarView
private
DataSimilarView
$_pDataSimilarView
= null
$_pFieldnames
private
Fieldnames
$_pFieldnames
= null
$_pInputModelSimilarViewFactory
private
InputModelOptionFactorySimilarView
$_pInputModelSimilarViewFactory
= null
$_values
private
array<string|int, mixed>
$_values
= array()
Methods
createButtonModelFieldsConfigByCategory()
public
createButtonModelFieldsConfigByCategory(string $category, array<string|int, mixed> $fieldNames, string $categoryLabel) : InputModelDB
Parameters
- $category : string
- $fieldNames : array<string|int, mixed>
- $categoryLabel : string
Return values
InputModelDB —createInputModelFieldsConfigByCategory()
public
createInputModelFieldsConfigByCategory(string $category, array<string|int, mixed> $fieldNames, string $categoryLabel) : InputModelDB
Parameters
- $category : string
- $fieldNames : array<string|int, mixed>
- $categoryLabel : string
Return values
InputModelDB —createInputModelSameEstateAmount()
public
createInputModelSameEstateAmount() : InputModelOption
Tags
Return values
InputModelOption —createInputModelSameEstatePostalCode()
public
createInputModelSameEstatePostalCode() : InputModelOption
Tags
Return values
InputModelOption —createInputModelSameEstateRadius()
public
createInputModelSameEstateRadius() : InputModelOption
Tags
Return values
InputModelOption —createInputModelSimilarEstateKind()
public
createInputModelSimilarEstateKind() : InputModelDB
Tags
Return values
InputModelDB —createInputModelSimilarEstateMarketingMethod()
public
createInputModelSimilarEstateMarketingMethod() : InputModelOption
Tags
Return values
InputModelOption —createInputModelTemplate()
public
createInputModelTemplate([string $field = InputModelOptionFactorySimilarView::INPUT_TEMPLATE ]) : InputModelOption
Parameters
- $field : string = InputModelOptionFactorySimilarView::INPUT_TEMPLATE
Tags
Return values
InputModelOption —createSortableFieldList()
public
createSortableFieldList(string $module, string $htmlType) : InputModelOption
Parameters
- $module : string
- $htmlType : string
Tags
Return values
InputModelOption —generate()
public
generate(string $pageSlug) : FormModel
Parameters
- $pageSlug : string
Tags
Return values
FormModel —getCheckboxEnableSimilarEstates()
public
getCheckboxEnableSimilarEstates() : InputModelDB
Tags
Return values
InputModelDB —setInputModelSimilarViewFactory()
public
setInputModelSimilarViewFactory(InputModelOptionFactorySimilarView $pInputModelSimilarViewFactory) : mixed
Parameters
- $pInputModelSimilarViewFactory : InputModelOptionFactorySimilarView
Return values
mixed —setValues()
public
setValues(array<string|int, mixed> $values) : mixed
Parameters
- $values : array<string|int, mixed>
Return values
mixed —getFieldnames()
protected
getFieldnames() : Fieldnames
Return values
Fieldnames —getValue()
protected
getValue(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
Return values
mixed —readExposes()
protected
readExposes() : array<string|int, mixed>
Return values
array<string|int, mixed> —readFieldnames()
protected
readFieldnames(string $module[, bool $withInactive = false ]) : array<string|int, mixed>
Parameters
- $module : string
- $withInactive : bool = false
Return values
array<string|int, mixed> —readFilters()
protected
readFilters(mixed $module) : array<string|int, mixed>
Parameters
- $module : mixed
Return values
array<string|int, mixed> —readTemplatePaths()
protected
readTemplatePaths( $directory[, $pattern = '*' ]) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —setFieldnames()
protected
setFieldnames(Fieldnames $pFieldnames) : mixed
Parameters
- $pFieldnames : Fieldnames
Return values
mixed —getFieldsCollection()
private
getFieldsCollection() : FieldsCollection
Tags
Return values
FieldsCollection —getTemplateValueByField()
private
getTemplateValueByField(string $field) : string
Parameters
- $field : string