From Aspen Documentation
Adds a new message to the session log
Since 1.0
Arguments
boolean addNewMessage (string $msg, [boolean $hidden = false])
- msg
- A message that will be added to the session.
- hidden
- If true, the unread message flag will not be set properly.
Returns
Returns true, always.
Examples
Example:
$this->APP->sml->addNewMessage('This is a test sml message.');