PHP Class DebuggerPlugin, vanilla

Inheritance: extends Gdn_Plugin
Show file Open project: vanilla/vanilla Class Usage Examples

Public Methods

Method Description
__construct ( ) Install the debugger database.
assetModel_styleCss_handler ( $Sender, $Args ) Add CSS file to all pages.
base_afterBody_handler ( $Sender ) Add Debugger info to frontend.
base_afterRenderAsset_handler ( $sender, $args ) Add Debugger info to dashboard after content asset.
formatData ( $Data, string $Indent = '' ) : string Build HTML.
gdn_pluginManager_afterStart_handler ( Gdn_PluginManager $sender ) Register the debug database that captures the queries.
onDisable ( )
pluginController_debugger_create ( $Sender )
setup ( )

Method Details

__construct() public method

Install the debugger database.
public __construct ( )

assetModel_styleCss_handler() public method

Add CSS file to all pages.
public assetModel_styleCss_handler ( $Sender, $Args )
$Sender
$Args

base_afterBody_handler() public method

Add Debugger info to frontend.
public base_afterBody_handler ( $Sender )
$Sender

base_afterRenderAsset_handler() public method

Add Debugger info to dashboard after content asset.
public base_afterRenderAsset_handler ( $sender, $args )
$sender
$args

formatData() public static method

Build HTML.
public static formatData ( $Data, string $Indent = '' ) : string
$Data
$Indent string
return string

gdn_pluginManager_afterStart_handler() public method

This event happens as early as possible so that all queries can be captured.
public gdn_pluginManager_afterStart_handler ( Gdn_PluginManager $sender )
$sender Gdn_PluginManager The {@link Gdn_PluginManager} firing the event.

onDisable() public method

public onDisable ( )

pluginController_debugger_create() public method

public pluginController_debugger_create ( $Sender )
$Sender

setup() public method

public setup ( )