OptionType
extends Enum
in package
This is the option type enumerate.
Tags
Table of Contents
ATTACHMENT | = 'ATTACHMENT' | |
---|---|---|
BOOLEAN | = 'BOOLEAN' | |
DATE | = 'DATE' | |
LONG_TEXT | = 'LONG_TEXT' | |
MULTIPLE_SELECTION | = 'MULTIPLE_SELECTION' | |
MULTIPLE_SELECTION_IMAGE | = 'MULTIPLE_SELECTION_IMAGE' | |
SELECTOR | = 'SELECTOR' | |
SHORT_TEXT | = 'SHORT_TEXT' | |
SINGLE_SELECTION | = 'SINGLE_SELECTION' | |
SINGLE_SELECTION_IMAGE | = 'SINGLE_SELECTION_IMAGE' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ATTACHMENT
public
mixed
ATTACHMENT
= 'ATTACHMENT'
BOOLEAN
public
mixed
BOOLEAN
= 'BOOLEAN'
DATE
public
mixed
DATE
= 'DATE'
LONG_TEXT
public
mixed
LONG_TEXT
= 'LONG_TEXT'
MULTIPLE_SELECTION
public
mixed
MULTIPLE_SELECTION
= 'MULTIPLE_SELECTION'
MULTIPLE_SELECTION_IMAGE
public
mixed
MULTIPLE_SELECTION_IMAGE
= 'MULTIPLE_SELECTION_IMAGE'
SELECTOR
public
mixed
SELECTOR
= 'SELECTOR'
SHORT_TEXT
public
mixed
SHORT_TEXT
= 'SHORT_TEXT'
SINGLE_SELECTION
public
mixed
SINGLE_SELECTION
= 'SINGLE_SELECTION'
SINGLE_SELECTION_IMAGE
public
mixed
SINGLE_SELECTION_IMAGE
= 'SINGLE_SELECTION_IMAGE'
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check