IMP_Basic_Smime::_textWindowOutput PHP Method

_textWindowOutput() protected method

Output text in a window.
protected _textWindowOutput ( string $name, string $msg, boolean $html = false )
$name string The window name.
$msg string The text contents.
$html boolean $msg is HTML format?
    protected function _textWindowOutput($name, $msg, $html = false)
    {
        $GLOBALS['browser']->downloadHeaders($name, 'text/' . ($html ? 'html' : 'plain') . '; charset=' . 'UTF-8', true, strlen($msg));
        echo $msg;
        exit;
    }