[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/debug/src/DataCollector/ -> QueryCollector.php (summary)

(no description)

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 258 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

QueryCollector:: (6 methods):
  __construct()
  collect()
  getName()
  getWidgets()
  getAssets()
  getStatements()


Class: QueryCollector  - X-Ref

QueryDataCollector

__construct(Registry $params, DebugMonitor $queryMonitor, array $profiles, array $explains)   X-Ref
Constructor.

param: Registry      $params        Parameters.
param: DebugMonitor  $queryMonitor  Query monitor.
param: array         $profiles      Profile data.
param: array         $explains      Explain data

collect()   X-Ref
Called by the DebugBar when data needs to be collected

return: array Collected data

getName()   X-Ref
Returns the unique name of the collector

return: string

getWidgets()   X-Ref
Returns a hash where keys are control names and their values
an array of options as defined in {@see \DebugBar\JavascriptRenderer::addControl()}

return: array

getAssets()   X-Ref
Assets for the collector.

return: array

getStatements()   X-Ref
Prepare the executed statements data.

return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer