Bitrix Site Manager

CLanguage

CLanguage is the class to handle languages of the system.

Fields


FieldTypeDescription
LID char(2) Double-character language ID.
SORT int Sort 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.

Methods

MethodDescription
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 language.

See Also