PHP Класс DebuggerPlugin, vanilla

Наследование: extends Gdn_Plugin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 ( )

Описание методов

__construct() публичный Метод

Install the debugger database.
public __construct ( )

assetModel_styleCss_handler() публичный Метод

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

base_afterBody_handler() публичный Метод

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

base_afterRenderAsset_handler() публичный Метод

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

formatData() публичный статический Метод

Build HTML.
public static formatData ( $Data, string $Indent = '' ) : string
$Data
$Indent string
Результат string

gdn_pluginManager_afterStart_handler() публичный Метод

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 onDisable ( )

pluginController_debugger_create() публичный Метод

public pluginController_debugger_create ( $Sender )
$Sender

setup() публичный Метод

public setup ( )