Documentation

BX.message

string 
BX.message(
 string param
);
void 
BX.message(
 object param
);

Function provides access to language messages. If the param parameter – string, then a language message will be returned with the param identifier. Otherwise, parameter is interpreted as an object type {identifier: language message, identifier: language message}; language messages are added to the current ones (re-writing the existing messages) .

Note: besides the language messages, several server constants of the current language type or current user are available.



© «Bitrix24», 2001-2024
Up