onOffice WP Plugin

InputModelBuilderDefaultValue
in package

Table of Contents

FIELD_TYPE_TO_HTML_TYPE_MAPPING  = [\onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_TEXT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_DATE => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_DATETIME => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_FLOAT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_NUMBER, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_INTEGER => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_NUMBER, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_MULTISELECT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_SINGLESELECT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_BOOLEAN => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT]
$_pInputModelDBFactoryConfigForm  : InputModelDBFactoryConfigForm
__construct()  : mixed
callbackValueInputModelDefaultValue()  : mixed
createInputModelDefaultValue()  : InputModelDB
cloneFieldsCollectionWithDummyField()  : FieldsCollection

Constants

FIELD_TYPE_TO_HTML_TYPE_MAPPING

public mixed FIELD_TYPE_TO_HTML_TYPE_MAPPING = [\onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_TEXT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_DATE => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_DATETIME => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_TEXT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_FLOAT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_NUMBER, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_INTEGER => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_NUMBER, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_MULTISELECT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_SINGLESELECT => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT, \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_BOOLEAN => \onOffice\WPlugin\Model\InputModelOption::HTML_TYPE_SELECT]

Properties

Methods

callbackValueInputModelDefaultValue()

public callbackValueInputModelDefaultValue(InputModelBase $pInputModel, Field $pField, array<string|int, mixed> $presetValuesDefaultValue) : mixed
Parameters
$pInputModel : InputModelBase
$pField : Field
$presetValuesDefaultValue : array<string|int, mixed>
Return values
mixed

Search results