Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс AnswerTypes

Открытые статические члены

static getFullList ()
 
static getTitledList ()
 
static getTitleById ($id)
 

Открытые атрибуты

const RADIO = 0
 
const CHECKBOX = 1
 
const DROPDOWN = 2
 
const MULTISELECT = 3
 
const TEXT = 4
 
const TEXTAREA = 5
 

Подробное описание

См. определение в файле answertypes.php строка 13

Методы

◆ getFullList()

static getFullList ( )
static

Gets types list

Возвращает
array

См. определение в файле answertypes.php строка 26

◆ getTitleById()

static getTitleById ( $id)
static

Returns type title.

Аргументы
(int|string)$id Field type like (0 - radio).
Возвращает
string

См. определение в файле answertypes.php строка 57

◆ getTitledList()

static getTitledList ( )
static

Returns array of types

Возвращает
array

См. определение в файле answertypes.php строка 41

Данные класса

◆ CHECKBOX

const CHECKBOX = 1

См. определение в файле answertypes.php строка 16

◆ DROPDOWN

const DROPDOWN = 2

См. определение в файле answertypes.php строка 17

◆ MULTISELECT

const MULTISELECT = 3

См. определение в файле answertypes.php строка 18

◆ RADIO

const RADIO = 0

См. определение в файле answertypes.php строка 15

◆ TEXT

const TEXT = 4

См. определение в файле answertypes.php строка 19

◆ TEXTAREA

const TEXTAREA = 5

См. определение в файле answertypes.php строка 20