Bitrix API

Intl

Class Intl

Table of Contents

Methods

__construct()  : mixed
Constructor.
getDataValue()  : string
Get data value by code.
getFields()  : array<string|int, mixed>
Return standard fields for current language.
getLabelText()  : string
Get label text.
getLanguageMessages()  : array<string|int, mixed>
Get provider fields.
getLanguages()  : array<string|int, mixed>
Get languages.
getList()  : array<string|int, mixed>
Get list of language settings.
getNotifyText()  : string
Get label text.
getPhrase()  : string
Get phrase.
getText()  : string
Get text.
load()  : void
Load.

Methods

__construct()

Constructor.

public __construct([string $languageId = null ]) : mixed
Parameters
$languageId : string = null

Language ID.

getDataValue()

Get data value by code.

public getDataValue(string $code) : string
Parameters
$code : string

Data code.

Return values
string

getFields()

Return standard fields for current language.

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

getLabelText()

Get label text.

public getLabelText() : string
Return values
string

getLanguageMessages()

Get provider fields.

public static getLanguageMessages(string $languageId[, array<string|int, mixed> $map = array() ]) : array<string|int, mixed>
Parameters
$languageId : string

Language ID.

$map : array<string|int, mixed> = array()

Message key map.

Return values
array<string|int, mixed>

getLanguages()

Get languages.

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

getList()

Get list of language settings.

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

getNotifyText()

Get label text.

public getNotifyText() : string
Return values
string

getPhrase()

Get phrase.

public getPhrase(string $code) : string
Parameters
$code : string

Phrase code.

Return values
string

getText()

Get text.

public getText() : string
Return values
string

load()

Load.

public load(string $languageId) : void
Parameters
$languageId : string

Language ID.


        
On this page

Search results