Prado\Web\UI\WebControls\TJavascriptLogger::renderContents PHP Method

renderContents() public method

Register the required javascript libraries and display some general usage information.
public renderContents ( $writer )
    public function renderContents($writer)
    {
        $code = strtoupper($this->getToggleKey());
        $info = '(<a href="http://web.archive.org/web/20060512041505/gleepglop.com/javascripts/logger/" target="_blank">more info</a>).';
        $link = '<a href="javascript:if(logConsole)logConsole.toggle()">toggle the javascript log console.</a>';
        $usage = 'Press ALT-' . $code . ' (Or CTRL-' . $code . ' on OS X) to';
        $writer->write("{$usage} {$link} {$info}");
    }