[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/debug/src/DataCollector/ -> InfoCollector.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: 217 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

InfoCollector:: (9 methods):
  __construct()
  getName()
  getWidgets()
  getAssets()
  collect()
  getIdentityInfo()
  getResponseInfo()
  getTemplateInfo()
  getDatabaseInfo()


Class: InfoCollector  - X-Ref

InfoDataCollector

__construct(Registry $params, $requestId)   X-Ref
InfoDataCollector constructor.

param: Registry  $params     Parameters
param: string    $requestId  Request ID

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
Returns an array with the following keys:
- base_path
- base_url
- css: an array of filenames
- js: an array of filenames

return: array

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

return: array Collected data

getIdentityInfo(User $identity)   X-Ref
Get Identity info.

param: User  $identity  The identity.
return: array

getResponseInfo(ResponseInterface $response)   X-Ref
Get response info.

param: ResponseInterface  $response  The response.
return: array

getTemplateInfo($template)   X-Ref
Get template info.

param: object  $template  The template.
return: array

getDatabaseInfo(array $info)   X-Ref
Get database info.

param: array  $info  General information.
return: array



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