QuestionTypes
Table of Contents
Constants
- CHECKBOX = 1
- COMPATIBILITY = 99999
- DROPDOWN = 2
- MULTISELECT = 3
- RADIO = 0
Methods
- getFullList() : array<string|int, mixed>
- Gets types list
- getList() : array<string|int, mixed>
- Gets types list
- getTitleById() : string
- Returns type title
- getTitledList() : array<string|int, mixed>
- Returns array of types
- getValues() : array<string|int, mixed>
- Gets types brief list
Constants
CHECKBOX
public
mixed
CHECKBOX
= 1
COMPATIBILITY
public
mixed
COMPATIBILITY
= 99999
DROPDOWN
public
mixed
DROPDOWN
= 2
MULTISELECT
public
mixed
MULTISELECT
= 3
RADIO
public
mixed
RADIO
= 0
Methods
getFullList()
Gets types list
public
static getFullList() : array<string|int, mixed>
Return values
array<string|int, mixed>getList()
Gets types list
public
static getList() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitleById()
Returns type title
public
static getTitleById(int|string $id) : string
Parameters
- $id : int|string
-
Field type like (0 - radio).
Return values
stringgetTitledList()
Returns array of types
public
static getTitledList() : array<string|int, mixed>
Return values
array<string|int, mixed>getValues()
Gets types brief list
public
static getValues() : array<string|int, mixed>