Bitrix Site Manager

CAdminMessage::ShowMessage

string
CAdminMessage::ShowMessage(
 string $message
)

The ShowMessage method displays a specified error message.

Example:


if (strlen(strError) > 0)
{
  echo CAdminMessage::ShowMessage($strError);
}