InputModelOptionFactoryDetailView
in package
Tags
Table of Contents
- INPUT_ACCESS_CONTROL = 'access-control'
- INPUT_EXPOSE = 'expose'
- INPUT_FIELD_CONFIG = \onOffice\WPlugin\DataView\DataDetailView::FIELDS
- INPUT_FIELD_CONTACTDATA_ONLY = \onOffice\WPlugin\DataView\DataDetailView::ADDRESSFIELDS
- INPUT_LINKS = 'links'
- INPUT_MOVIE_LINKS = 'movielinks'
- INPUT_OBJECT_LINKS = 'objectlinks'
- INPUT_OGULO_LINKS = 'ogulolinks'
- INPUT_PICTURE_TYPE = \onOffice\WPlugin\DataView\DataDetailView::PICTURES
- INPUT_RESTRICT_ACCESS_CONTROL = 'restrict-access-control'
- INPUT_SHORT_CODE_FORM = 'shortcodeform'
- INPUT_SHOW_STATUS = 'show_status'
- INPUT_TEMPLATE = 'template'
- KEY_TYPE = 'type'
- $_inputConfig : array<string|int, mixed>
- $_optionGroup : string
- __construct() : mixed
- create() : InputModelOption
Constants
INPUT_ACCESS_CONTROL
public
mixed
INPUT_ACCESS_CONTROL
= 'access-control'
INPUT_EXPOSE
public
mixed
INPUT_EXPOSE
= 'expose'
INPUT_FIELD_CONFIG
public
mixed
INPUT_FIELD_CONFIG
= \onOffice\WPlugin\DataView\DataDetailView::FIELDS
INPUT_FIELD_CONTACTDATA_ONLY
public
mixed
INPUT_FIELD_CONTACTDATA_ONLY
= \onOffice\WPlugin\DataView\DataDetailView::ADDRESSFIELDS
INPUT_LINKS
public
mixed
INPUT_LINKS
= 'links'
INPUT_MOVIE_LINKS
public
mixed
INPUT_MOVIE_LINKS
= 'movielinks'
INPUT_OBJECT_LINKS
public
mixed
INPUT_OBJECT_LINKS
= 'objectlinks'
INPUT_OGULO_LINKS
public
mixed
INPUT_OGULO_LINKS
= 'ogulolinks'
INPUT_PICTURE_TYPE
public
mixed
INPUT_PICTURE_TYPE
= \onOffice\WPlugin\DataView\DataDetailView::PICTURES
INPUT_RESTRICT_ACCESS_CONTROL
public
mixed
INPUT_RESTRICT_ACCESS_CONTROL
= 'restrict-access-control'
INPUT_SHORT_CODE_FORM
public
mixed
INPUT_SHORT_CODE_FORM
= 'shortcodeform'
INPUT_SHOW_STATUS
public
string
INPUT_SHOW_STATUS
= 'show_status'
INPUT_TEMPLATE
public
mixed
INPUT_TEMPLATE
= 'template'
KEY_TYPE
public
mixed
KEY_TYPE
= 'type'
Properties
$_inputConfig
private
array<string|int, mixed>
$_inputConfig
= [self::INPUT_EXPOSE => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_TEMPLATE => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_SHORT_CODE_FORM => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_PICTURE_TYPE => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_FIELD_CONFIG => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_FIELD_CONTACTDATA_ONLY => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_MOVIE_LINKS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_ACCESS_CONTROL => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_RESTRICT_ACCESS_CONTROL => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_SHOW_STATUS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_BOOLEAN], self::INPUT_OGULO_LINKS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_OBJECT_LINKS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING], self::INPUT_LINKS => [self::KEY_TYPE => \onOffice\WPlugin\Model\InputModelOption::SETTING_TYPE_STRING]]
$_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