class DebugBarDatabaseCollector extends DataCollector implements Renderable, AssetProvider (View source)

Collects data about SQL statements executed through the DatabaseProxy

Properties

protected TimeDataCollector $timeCollector
protected SS_Database $db

Methods

public
array
collect()

No description

protected static 
array
explodeFields(string $str)

Explode comma separated elements not within parenthesis or quotes

protected
array
collectData(TimeDataCollector $timeCollector = null)

Collects data

public
string
getName()

No description

public
array
getWidgets()

No description

public
array
getAssets()

No description

Details

array collect()

No description

Return Value

array

static protected array explodeFields(string $str)

Explode comma separated elements not within parenthesis or quotes

Parameters

string $str

Return Value

array

protected array collectData(TimeDataCollector $timeCollector = null)

Collects data

Parameters

TimeDataCollector $timeCollector

Return Value

array

string getName()

No description

Return Value

string

array getWidgets()

No description

Return Value

array

array getAssets()

No description

Return Value

array