DebugPanel
- Type
- Class
- Namespace
- craft\commerce\helpers
- Inherits
- craft\commerce\helpers\DebugPanel
- Since
- 4.0
Class DebugPanel
View source (opens new window)
# Public Methods
Method | Description |
---|---|
prependOrAppendModelTab() | |
renderModelAttributeRow() |
# prependOrAppendModelTab()
View source (opens new window)
Arguments
$model
(object (opens new window))$name
(string (opens new window), null (opens new window)) – Name of the tab to be displayed.$prepend
(boolean (opens new window)) – Whether to prepend the content tab.
Returns
void
# renderModelAttributeRow()
View source (opens new window)
Arguments
$attr
(string (opens new window))$value
(mixed
)$label
(string (opens new window), null (opens new window))