OutSCIRT

About
Documentation
Downloads

O__sysMsg

Purpose: To display a standard system message alert box.

Type: Server-side function

Inputs:

  • $O__sysMsgHeadline: The headline of the message.
  • $O__sysMsgBody: The actual alert text.
  • $O__sysMsgStyle: The class used to style the message. Assuming the O__admin theme is used, options are O__sysMsgNeutral, O__sysMsgAlert.

Outputs: A string with the rendered HTML will be returned. It can be stored in a string or echoed right away.

Use Case: For use in providing a standardized system alert.

Examples:

  • Placing the system message into a new variable: $mySystemMessage = O__sysMsg("This is my Title", "This is my alert message for you", "O__sysMsgNeutral");

Version Documented: 20200830