PHP Class Prado\Web\UI\WebControls\TJavascriptLogger

Provides logging for client-side javascript. Example: template code Client-side javascript code to log info, error, warn, debug Logger.warn('A warning'); Logger.info('something happend'); To see the logger and console, press ALT-D (or CTRL-D on OS X). More information on the logger can be found at http://web.archive.org/web/20060512041505/gleepglop.com/javascripts/logger/
Since: 3.0
Inheritance: extends TWebControl
ファイルを表示 Open project: pradosoft/prado

Public Methods

Method Description
getToggleKey ( ) : string
onPreRender ( $param ) Registers the required logger javascript.
renderContents ( $writer ) Register the required javascript libraries and display some general usage information.
setToggleKey ( $value )

Protected Methods

Method Description
getTagName ( ) : string

Method Details

getTagName() protected method

protected getTagName ( ) : string
return string tag name of the panel

getToggleKey() public method

public getToggleKey ( ) : string
return string keyboard key for toggling the console.

onPreRender() public method

Registers the required logger javascript.
public onPreRender ( $param )

renderContents() public method

Register the required javascript libraries and display some general usage information.
public renderContents ( $writer )

setToggleKey() public method

public setToggleKey ( $value )