Class yii\debug\panels\AssetPanel
Inheritance | yii\debug\panels\AssetPanel » yii\debug\Panel » yii\base\Component |
---|---|
Available since version | 2.0 |
Debugger panel that collects and displays asset bundles data.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$actions | array | Array of actions to add to the debug modules default controller. | yii\debug\Panel |
$data | mixed | Data associated with panel | yii\debug\Panel |
$id | string | Panel unique identifier. | yii\debug\Panel |
$module | yii\debug\Module | yii\debug\Panel | |
$tag | string | Request data set identifier. | yii\debug\Panel |
Public Methods
Method | Description | Defined By |
---|---|---|
getDetail() | yii\debug\panels\AssetPanel | |
getName() | yii\debug\panels\AssetPanel | |
getSummary() | yii\debug\panels\AssetPanel | |
getTraceLine() | Returns a trace line | yii\debug\Panel |
getUrl() | yii\debug\Panel | |
load() | Loads data into the panel | yii\debug\Panel |
save() | Saves data to be later used in debugger detail view. | yii\debug\panels\AssetPanel |
Protected Methods
Method | Description | Defined By |
---|---|---|
format() | Additional formatting for view. | yii\debug\panels\AssetPanel |
formatOptions() | Format associative array of params to simple value. | yii\debug\panels\AssetPanel |
Method Details
Additional formatting for view.
protected \yii\web\AssetManager format ( array $bundles ) | ||
$bundles | \yii\web\AssetBundle[] | Array of bundles to formatting. |
Format associative array of params to simple value.
protected array formatOptions ( array &$params ) | ||
$params | array |
public string getDetail ( ) | ||
return | string | Content that is displayed in debugger detail view |
---|
public string getName ( ) | ||
return | string | Name of the panel |
---|
public string getSummary ( ) | ||
return | string | Content that is displayed at debug toolbar |
---|
Saves data to be later used in debugger detail view.
This method is called on every page where debugger is enabled.
public mixed save ( ) | ||
return | mixed | Data to be saved |
---|