Skip to content
PHP Ecosystem
Explore

RequestDiagnosticLedger

API reference › Debug Core › Panel › Request › RequestDiagnosticLedger

final classPHPForge\Debug\Panel\Request\RequestDiagnosticLedger
Sourcesrc/Panel/Request/RequestDiagnosticLedger.php

Builds the shared yii-debug-diagnostic-ledger used by the Request headers and server-variable panes.

MethodDescriptionDefined by
render() staticRenders the ledger holding the supplied rows.RequestDiagnosticLedger
row() staticBuilds one filterable ledger row from already-escaped term and description markup.RequestDiagnosticLedger
public static function render(string $modifier, UIAwesome\Html\Flow\Div ...$rows): string

Renders the ledger holding the supplied rows.

Parameters

ParameterTypeDescription
$modifierstringExtra CSS classes appended after the shared ledger class.
...$rowsUIAwesome\Html\Flow\DivLedger rows in capture order.

Returns

string: Ledger markup.

public static function row(string $term, string $description, string $modifier = ''): UIAwesome\Html\Flow\Div

Builds one filterable ledger row from already-escaped term and description markup.

Parameters

ParameterTypeDescription
$termstringEscaped entry name.
$descriptionstringRendered entry value.
$modifierstringExtra CSS classes appended after the shared row class, or '' to add none.

Returns

UIAwesome\Html\Flow\Div: Ledger row element.