RequestDiagnosticLedger
API reference › Debug Core › Panel › Request › RequestDiagnosticLedger
Builds the shared yii-debug-diagnostic-ledger used by the Request headers and server-variable panes.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
render() static | Renders the ledger holding the supplied rows. | RequestDiagnosticLedger |
row() static | Builds one filterable ledger row from already-escaped term and description markup. | RequestDiagnosticLedger |
Method details
Section titled “Method details”render()
Section titled “render() ”public static function render(string $modifier, UIAwesome\Html\Flow\Div ...$rows): stringRenders the ledger holding the supplied rows.
Parameters
| Parameter | Type | Description |
|---|---|---|
$modifier | string | Extra CSS classes appended after the shared ledger class. |
...$rows | UIAwesome\ | Ledger rows in capture order. |
Returns
string: Ledger markup.
row()
Section titled “row() ”public static function row(string $term, string $description, string $modifier = ''): UIAwesome\Html\Flow\DivBuilds one filterable ledger row from already-escaped term and description markup.
Parameters
| Parameter | Type | Description |
|---|---|---|
$term | string | Escaped entry name. |
$description | string | Rendered entry value. |
$modifier | string | Extra CSS classes appended after the shared row class, or '' to add none. |
Returns
UIAwesome\Html\Flow\Div: Ledger row element.