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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
getTagName ( ) : string

Method Details

getTagName() protected méthode

protected getTagName ( ) : string
Résultat string tag name of the panel

getToggleKey() public méthode

public getToggleKey ( ) : string
Résultat string keyboard key for toggling the console.

onPreRender() public méthode

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

renderContents() public méthode

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

setToggleKey() public méthode

public setToggleKey ( $value )