library/core/class.controller.php
public function InformMessage($Message, $Options = 'Dismissable AutoDismiss') {
      // If $Options isn't an array of options, accept it as a string of css classes to be assigned to the message.
      if (!is_array($Options))
         $Options = array('CssClass' => $Options);
      
      if (!$Message && !array_key_exists('id', $Options))
         return;
      
      $Options['Message'] = $Message;
      $this->_InformMessages[] = $Options;
   }
public function InformMessage($Message, $Options = 'Dismissable AutoDismiss') {
      // If $Options isn't an array of options, accept it as a string of css classes to be assigned to the message.
      if (!is_array($Options))
         $Options = array('CssClass' => $Options);
      
      if (!$Message && !array_key_exists('id', $Options))
         return;
      
      $Options['Message'] = $Message;
      $this->_InformMessages[] = $Options;
   }
public function InformMessage ( $ Message , $ Options = 'Dismissable AutoDismiss' ) { // If $Options isn't an array of options, accept it as a string of css classes to be assigned to the message. if ( ! is_array ( $ Options ) ) $ Options = array ( 'CssClass' => $ Options ) ; if ( ! $ Message && ! array_key_exists ( 'id' , $ Options ) ) return ; $ Options [ 'Message' ] = $ Message ; $ this -> _InformMessages [ ] = $ Options ; }
Add an "inform" message to be displayed to the user.

@since 2.0.18

@param string $Message The message to be displayed.
@param mixed $Options An array of options for the message. If not an array, it is assumed to be a string of CSS classes to apply to the message.
Add an inform message to be displayed to the user .