flash_get

Get the flash message from session and then delete it This function is overridable from the custom helpers/session_helper.php

Parameters
string $name = ''

The optional session name to retrieve the message from

#
string $class = 'success'

The HTML class name; default is success

#
Returns
string

The HTML message