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.
Parameter | Description |
---|---|
message_id | The message ID. |
<? IncludeTemplateLangFile(__FILE__); echo GetMessage("SOME_MESSAGE_CODE"); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |