====== enqueueMessage ====== {#JAPI Joomla.Framework Application JApplication::enqueueMessage #} Enqueues a message into the system message queue. The system messages are displayed when the page is rendered. The messages are rendered using
and
tags. The $type parameter is applied to the class of these tags. The messages are included in the template using . ===== Syntax ===== void enqueueMessage ( **$msg**, **$type** ) | **$msg** | string | the message to enqueue. | | **$type** | string | the message type. This parameter is optional and if omitted defaults to 'message'. | ===== Examples ===== global $mainframe; $mainframe->enqueueMessage( 'This is a test!' ); might result in:
Message
  • This is a test!
being rendered onto the page. ---- ~~DISCUSSION~~