src/UthandoCommon/View/FlashMessenger.php
protected function getAlert($namespace, $message, $title = null, $titleTag = 'h4', $isBlock = false)
    {
        $namespace = $this->classMessages[$namespace];

        $html = ($title) ? sprintf($this->titleFormat, $titleTag, $title, $titleTag) : '';
        $html .= $message . PHP_EOL;

        $alert = $this->getAlertHelper()->$namespace($html, $isBlock);

        return $alert;
    }
protected function getAlert($namespace, $message, $title = null, $titleTag = 'h4', $isBlock = false)
    {
        $namespace = $this->classMessages[$namespace];

        $html = ($title) ? sprintf($this->titleFormat, $titleTag, $title, $titleTag) : '';
        $html .= $message . PHP_EOL;

        $alert = $this->getAlertHelper()->$namespace($html, $isBlock);

        return $alert;
    }
protected function getAlert ( $ namespace , $ message , $ title = null , $ titleTag = 'h4' , $ isBlock = false ) { $ namespace = $ this -> classMessages [ $ namespace ] ; $ html = ( $ title ) ? sprintf ( $ this -> titleFormat , $ titleTag , $ title , $ titleTag ) : '' ; $ html .= $ message . PHP_EOL ; $ alert = $ this -> getAlertHelper ( ) -> $ namespace ( $ html , $ isBlock ) ; return $ alert ; }
Get the alert string

@param  string $namespace
@return string $alert
Get the alert string