public function infoMessage($message, $afterRedirect = false)
    {
        if ($afterRedirect) {
            $_SESSION['GlobalMessage']['info'] = $message;
        }

        if (!empty($this->template)) {
            $this->template->globalInfoMessage = $message;
        }
    }
public function infoMessage($message, $afterRedirect = false)
    {
        if ($afterRedirect) {
            $_SESSION['GlobalMessage']['info'] = $message;
        }

        if (!empty($this->template)) {
            $this->template->globalInfoMessage = $message;
        }
    }
public function infoMessage ( $ message , $ afterRedirect = false ) { if ( $ afterRedirect ) { $ _SESSION [ 'GlobalMessage' ] [ 'info' ] = $ message ; } if ( ! empty ( $ this -> template ) ) { $ this -> template -> globalInfoMessage = $ message ; } }
Display an info message

@param $message
@param bool $afterRedirect
Display an info message