InputModelOptionFactorySimilarView
in package
Tags
Table of Contents
- INPUT_FIELD_CONFIG = \onOffice\WPlugin\DataView\DataSimilarView::FIELDS
- INPUT_FIELD_ENABLE_SIMILAR_ESTATES = \onOffice\WPlugin\DataView\DataSimilarView::ENABLE_SIMILAR_ESTATES
- INPUT_FIELD_SIMILAR_ESTATES_AMOUNT = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_AMOUNT
- INPUT_FIELD_SIMILAR_ESTATES_RADIUS = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_RADIUS
- INPUT_FIELD_SIMILAR_ESTATES_SAME_KIND = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_KIND
- INPUT_FIELD_SIMILAR_ESTATES_SAME_MARKETING_METHOD = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_MARKETING_METHOD
- INPUT_FIELD_SIMILAR_ESTATES_SAME_POSTAL_CODE = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_POSTAL_CODE
- INPUT_FIELD_SIMILAR_ESTATES_TEMPLATE = \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SIMILAR_ESTATES_TEMPLATE
- INPUT_TEMPLATE = 'template'
- KEY_TYPE = 'type'
- $_inputConfig : array<string|int, mixed>
- $_optionGroup : string
- __construct() : mixed
- create() : InputModelOption
Constants
INPUT_FIELD_CONFIG
public
mixed
INPUT_FIELD_CONFIG
= \onOffice\WPlugin\DataView\DataSimilarView::FIELDS
INPUT_FIELD_ENABLE_SIMILAR_ESTATES
public
mixed
INPUT_FIELD_ENABLE_SIMILAR_ESTATES
= \onOffice\WPlugin\DataView\DataSimilarView::ENABLE_SIMILAR_ESTATES
INPUT_FIELD_SIMILAR_ESTATES_AMOUNT
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_AMOUNT
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_AMOUNT
INPUT_FIELD_SIMILAR_ESTATES_RADIUS
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_RADIUS
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_RADIUS
INPUT_FIELD_SIMILAR_ESTATES_SAME_KIND
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_SAME_KIND
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_KIND
INPUT_FIELD_SIMILAR_ESTATES_SAME_MARKETING_METHOD
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_SAME_MARKETING_METHOD
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_MARKETING_METHOD
INPUT_FIELD_SIMILAR_ESTATES_SAME_POSTAL_CODE
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_SAME_POSTAL_CODE
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SAME_POSTAL_CODE
INPUT_FIELD_SIMILAR_ESTATES_TEMPLATE
public
mixed
INPUT_FIELD_SIMILAR_ESTATES_TEMPLATE
= \onOffice\WPlugin\DataView\DataViewSimilarEstates::FIELD_SIMILAR_ESTATES_TEMPLATE
INPUT_TEMPLATE
public
mixed
INPUT_TEMPLATE
= 'template'
KEY_TYPE
public
mixed
KEY_TYPE
= 'type'
Properties
$_inputConfig
private
array<string|int, mixed>
$_inputConfig
= [self::INPUT_FIELD_CONFIG => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_FIELD_SIMILAR_ESTATES_SAME_KIND => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_BOOLEAN], self::INPUT_FIELD_SIMILAR_ESTATES_SAME_MARKETING_METHOD => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_BOOLEAN], self::INPUT_FIELD_SIMILAR_ESTATES_SAME_POSTAL_CODE => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_BOOLEAN], self::INPUT_FIELD_SIMILAR_ESTATES_RADIUS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_INTEGER], self::INPUT_FIELD_SIMILAR_ESTATES_AMOUNT => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_INTEGER], self::INPUT_FIELD_SIMILAR_ESTATES_TEMPLATE => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_FIELD_ENABLE_SIMILAR_ESTATES => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_BOOLEAN]]
$_optionGroup
private
string
$_optionGroup
= null
Methods
__construct()
public
__construct(string $optionGroup) : mixed
Parameters
- $optionGroup : string
Return values
mixed —create()
public
create(string $name, string $label[, bool $multi = false ]) : InputModelOption
Parameters
- $name : string
- $label : string
- $multi : bool = false