Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe InfoCollector
+ Graphe d'héritage de InfoCollector:

Fonctions membres publiques

 __construct (Registry $params, $requestId)
 
 getName ()
 
 getWidgets ()
 
 getAssets ()
 
 collect ()
 
- Fonctions membres publiques hérités de AbstractDataCollector
 __construct (Registry $params)
 
 getDataFormatter ()
 
 formatPath ($path)
 
 formatCallerInfo (array $call)
 
- Fonctions membres publiques hérités de DataCollector
 setDataFormatter (DataFormatterInterface $formater)
 
 getDataFormatter ()
 
 getXdebugLink ($file, $line=1)
 
 setVarDumper (DebugBarVarDumper $varDumper)
 
 getVarDumper ()
 
 formatVar ($var)
 
 formatDuration ($seconds)
 
 formatBytes ($size, $precision=2)
 
 getXdebugLinkTemplate ()
 
 setXdebugLinkTemplate ($xdebugLinkTemplate, $shouldUseAjax=false)
 
 getXdebugShouldUseAjax ()
 
 getXdebugReplacements ()
 
 setXdebugReplacements ($xdebugReplacements)
 
 setXdebugReplacement ($serverPath, $replacement)
 

Fonctions membres privées

 getIdentityInfo (User $identity)
 
 getResponseInfo (ResponseInterface $response)
 
 getTemplateInfo ($template)
 
 getDatabaseInfo (array $info)
 

Attributs privés

 $name = 'info'
 
 $requestId
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de AbstractDataCollector
static getDefaultDataFormatter ()
 
- Fonctions membres publiques statiques hérités de DataCollector
static setDefaultDataFormatter (DataFormatterInterface $formater)
 
static getDefaultDataFormatter ()
 
static setDefaultVarDumper (DebugBarVarDumper $varDumper)
 
static getDefaultVarDumper ()
 
- Attributs protégés hérités de AbstractDataCollector
 $params
 
- Attributs protégés hérités de DataCollector
 $dataFormater
 
 $varDumper
 
 $xdebugLinkTemplate = ''
 
 $xdebugShouldUseAjax = false
 
 $xdebugReplacements = array()
 

Description détaillée

InfoDataCollector

Depuis
4.0.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( Registry  $params,
  $requestId 
)

InfoDataCollector constructor.

Paramètres
Registry$paramsParameters
string$requestIdRequest ID
Depuis
4.0.0

Références $params, et Symfony\Contracts\Service\__construct().

Documentation des fonctions membres

◆ collect()

collect ( )

Called by the DebugBar when data needs to be collected

Depuis
4.0.0
Renvoie
array Collected data

SiteApplication|AdministratorApplication $application

Implémente DataCollectorInterface.

Références $model, et Factory\getApplication().

◆ getAssets()

getAssets ( )

Returns an array with the following keys:

  • base_path
  • base_url
  • css: an array of filenames
  • js: an array of filenames
Depuis
4.0.0
Renvoie
array

Implémente AssetProvider.

Références Uri\root().

◆ getDatabaseInfo()

getDatabaseInfo ( array  $info)
private

Get database info.

Paramètres
array$infoGeneral information.
Depuis
4.0.0
Renvoie
array

Références $info.

◆ getIdentityInfo()

getIdentityInfo ( User  $identity)
private

Get Identity info.

Paramètres
User$identityThe identity.
Depuis
4.0.0
Renvoie
array

◆ getName()

getName ( )

Returns the unique name of the collector

Depuis
4.0.0
Renvoie
string

Implémente DataCollectorInterface.

Références $name.

◆ getResponseInfo()

getResponseInfo ( ResponseInterface  $response)
private

Get response info.

Paramètres
ResponseInterface$responseThe response.
Depuis
4.0.0
Renvoie
array

Références ResponseInterface\getStatusCode().

◆ getTemplateInfo()

getTemplateInfo (   $template)
private

Get template info.

Paramètres
object$templateThe template.
Depuis
4.0.0
Renvoie
array

Références $template.

◆ getWidgets()

getWidgets ( )

Returns a hash where keys are control names and their values an array of options as defined in {

Voir également
::addControl()}
Depuis
4.0.0
Renvoie
array

Implémente Renderable.

Références $name.

Documentation des champs

◆ $name

$name = 'info'
private

◆ $requestId

$requestId
private

La documentation de cette classe a été générée à partir du fichier suivant :