Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Attributs protégés | |
$requestStartTime | |
$requestEndTime | |
$startedMeasures = [] | |
$measures = [] | |
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() | |
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 () |
Collects info about the request duration as well as providing a way to log duration of any operations
__construct | ( | Registry | $params | ) |
Constructor.
Registry | $params | Parameters. |
Références $params, et Symfony\Contracts\Service\__construct().
addMeasure | ( | $label, | |
$start, | |||
$end, | |||
array | $params = [] , |
||
$collector = null |
|||
) |
Adds a measure
string | $label | A label. |
float | $start | Start of request. |
float | $end | End of request. |
array | $params | Parameters. |
string | null | $collector | A collector. |
Références $label, $params, $start, et DataCollector\getDataFormatter().
collect | ( | ) |
Called by the DebugBar when data needs to be collected
Implémente DataCollectorInterface.
Références $b, $label, $name, $start, DataCollector\getDataFormatter(), et Profiler\getInstance().
getMeasures | ( | ) |
Returns an array of all measures
getName | ( | ) |
Returns the unique name of the collector
Implémente DataCollectorInterface.
getRequestDuration | ( | ) |
getRequestEndTime | ( | ) |
Returns the request end time
getRequestStartTime | ( | ) |
Returns the request start time
getWidgets | ( | ) |
Returns a hash where keys are control names and their values an array of options as defined in {
Implémente Renderable.
hasStartedMeasure | ( | $name | ) |
measure | ( | $label, | |
\Closure | $closure, | ||
$collector = null |
|||
) |
stopMeasure | ( | $name, | |
array | $params = [] |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |