Bitrix API

Type extends ClassConstant

Class Type

Table of Contents

Constants

ADDITIONAL  = 3
BASE  = 1
SITE_TMPL  = 4
USER  = 2

Methods

getCode()  : string|null
Get code.
getCodes()  : array<string|int, mixed>
Get codes.
getId()  : int|null
Get ID.
getList()  : array<string|int, mixed>
Get list.
getName()  : int|null
Get caption.
getNamedCodes()  : array<string|int, mixed>
Get named list.
getNamedList()  : array<string|int, mixed>
Get named list.

Constants

ADDITIONAL

public mixed ADDITIONAL = 3

BASE

public mixed BASE = 1

SITE_TMPL

public mixed SITE_TMPL = 4

USER

public mixed USER = 2

Methods

getCode()

Get code.

public static getCode(int $id) : string|null
Parameters
$id : int

ID.

Return values
string|null

getCodes()

Get codes.

public static getCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

Get ID.

public static getId(string $code) : int|null
Parameters
$code : string

Code.

Return values
int|null

getList()

Get list.

public static getList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getName()

Get caption.

public static getName(int $id) : int|null
Parameters
$id : int

ID.

Return values
int|null

getNamedCodes()

Get named list.

public static getNamedCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNamedList()

Get named list.

public static getNamedList() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results