Bitrix Site Manager

GetMessage

string
GetMessage(
 string message_id
)

The function GetMessage retrieves a message text by the message ID. The message returned is in the current language. The language files are used to assign message ID's to message text. A corresponding language file should be included prior to calling this function.

Parameters

ParameterDescription
message_id The message ID.

See Also

Example



<?
IncludeTemplateLangFile(__FILE__);
echo GetMessage("SOME_MESSAGE_CODE");
?>