protected function _renderMessage($message, $config)
    {
        $config = new AnConfig($config);

        $config->append(array(
            'type' => 'info',
        ));

        $message = ''
        .'<div class="alert alert-block alert-'.$config->type.'">'
        .'<a class="close" data-dismiss="alert" href="#">&times;</a>'
        .$message
        .'</div>';

        return $message;
    }
protected function _renderMessage($message, $config)
    {
        $config = new AnConfig($config);

        $config->append(array(
            'type' => 'info',
        ));

        $message = ''
        .'<div class="alert alert-block alert-'.$config->type.'">'
        .'<a class="close" data-dismiss="alert" href="#">&times;</a>'
        .$message
        .'</div>';

        return $message;
    }
protected function _renderMessage ( $ message , $ config ) { $ config = new AnConfig ( $ config ) ; $ config -> append ( array ( 'type' => 'info' , ) ) ; $ message = '' . '<div class="alert alert-block alert-' . $ config -> type . '">' . '<a class="close" data-dismiss="alert" href="#">&times;</a>' . $ message . '</div>' ; return $ message ; }
Renders an individual message.

@param string $message The message to render
@param array  $config  Options

@return string
Renders an individual message .