Bitrix API

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

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
string

getTitledList()

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>
Return values
array<string|int, mixed>

        
On this page

Search results