DebuggerPlugin::gdn_pluginManager_afterStart_handler PHP Метод

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.
    public function gdn_pluginManager_afterStart_handler($sender)
    {
        $tmp = Gdn::factoryOverwrite(true);
        Gdn::factoryInstall(Gdn::AliasDatabase, 'Gdn_DatabaseDebug', dirname(__FILE__) . DS . 'class.databasedebug.php', Gdn::FactorySingleton, array('Database'));
        Gdn::factoryOverwrite($tmp);
        unset($tmp);
    }