Helpers for debugging output.

package XenForo_Core

 Methods

Gets database debug information, including query count and run time and the actual queries that were run.

getDatabaseDebugInfo(\Zend_Db_Adapter_Abstract $db) : array

Parameters

$db

\Zend_Db_Adapter_Abstract

Returns

arrayKeys: queryCount, totalQueryRunTime, queryHtml

Gets the debug HTML output.

getDebugHtml() : string

This is triggered by the _debug=1 URL parameter.

Returns

string

getDebugTemplateParams()

getDebugTemplateParams() 

Gets included files debug info.

getIncludedFilesDebugInfo(array $includedFiles) : array

Parameters

$includedFiles

array

Returns

arrayKeys: includedFileCount, incldedFileHtml, includedForoClasses

Private constructor.

__construct() 

Use statically.