Documentation

CLanguage Class

CLanguage is used to handle system languages.

Fields


Field Type Description
LID char(2) Double-character language ID.
SORT int Sorting order.
DEF char Language by default (Y|N).
ACTIVE char Active state (Y|N).
NAME varchar (50) Name.
FORMAT_DATE varchar (50) Date format for the administrative section.
FORMAT_DATETIME varchar (50) Time and date format for the administartive section.
CHARSET varchar (255) Charset used to display pages in this language within administrative section.

Class methods

MethodDescription Available from version
GetList Returns the list of languages.
GetByID Returns information on the specified language.
SelectBox Creates the drop-down list of languages.
Add Adds a new language.
Update Modifies the existing language.
Delete Deletes a language.
© «Bitrix24», 2001-2024
Up